getProgress method
Implementation
@override
Future<Map<String, Duration>> getProgress(TauPlayerCallback callback, ) async
{
Map<String, int> m = (await invokeMethod( callback, 'getPlayerState', Map<String, dynamic>(),) as Map) as Map<String, int>;
Map<String, Duration> r = {'duration': Duration(milliseconds: m['duration']!), 'progress': Duration(milliseconds: m['progress']!),};
return r;
}