destroyPlayer static method

Future<int> destroyPlayer(
  1. String identifier
)

Implementation

static Future<int> destroyPlayer(String identifier) async {
  final int? result = await _channel.invokeMethod('destroyNativePlayer',{
    'identifier': identifier
  });
  return result ?? -1;
}