getProgress method
Implementation
@override
Future<Map<String, Duration>> getProgress(
FlutterSoundPlayerCallback callback,
) async {
var m2 = await invokeMethodMap(
callback,
'getProgress',
Map<String, dynamic>(),
);
Map<String, Duration> r = {
'duration': Duration(milliseconds: m2['duration']!),
'progress': Duration(milliseconds: m2['position']!),
};
return r;
}