getCurrentPosition method

  1. @override
Future<double> getCurrentPosition()
override

Get the current playback position in seconds

Implementation

@override
Future<double> getCurrentPosition() async {
  return await methodChannel.invokeMethod<double>('getCurrentPosition') ??
      0.0;
}