releaseAsync method

Future<void> releaseAsync()

异步释放播放器

Implementation

Future<void> releaseAsync() async {
  FlutterAliPlayerFactory.instanceMap.remove(playerId);
  return FlutterAliPlayerFactory.methodChannel
      .invokeMethod('releaseAsync', wrapWithPlayerId());
}