create method

  1. @override
Future<void> create()
override

创建短视频列表播放

Implementation

@override

/// 创建短视频列表播放
Future<void> create() async {
  var invokeMethod = FlutterAliPlayerFactory.methodChannel.invokeMethod(
      'createAliPlayer', wrapWithPlayerId(arg: PlayerType.PlayerType_List));
  sendCustomEvent("source=flutter");
  return invokeMethod;
}