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