getProgress method

  1. @override
Future<Map<String, Duration>> getProgress(
  1. FlutterSoundPlayerCallback callback
)
override

Implementation

@override
Future<Map<String, Duration>> getProgress(
  FlutterSoundPlayerCallback callback,
) async {
  // Map<String, int> m = await invokeMethod( callback, 'getPlayerState', null,) as Map;
  Map<String, Duration> r = {
    'duration': Duration.zero,
    'progress': Duration.zero,
  };
  return r;
}