getDuration method

Future getDuration()

获取视频的长度

Implementation

Future<dynamic> getDuration() async {
  return FlutterAliPlayerFactory.methodChannel
      .invokeMethod('getDuration', wrapWithPlayerId());
}