getAudioDuration method

  1. @override
Future<int?> getAudioDuration(
  1. String path
)
override

Implementation

@override
Future<int?> getAudioDuration(String path) async {
  var duration = await methodChannel.invokeMethod<int>('getAudioDuration', {
    "path": path,
  });
  return duration;
}