mucke/lib/domain/usecases/handle_playback_state.dart
2021-02-26 22:07:18 +01:00

12 lines
No EOL
399 B
Dart

import '../entities/playback_event.dart';
import '../repositories/platform_integration_repository.dart';
class HandlePlaybackEvent {
HandlePlaybackEvent(this._platformIntegrationRepository);
final PlatformIntegrationRepository _platformIntegrationRepository;
Future<void> call(PlaybackEvent playbackEvent) async {
_platformIntegrationRepository.handlePlaybackEvent(playbackEvent);
}
}