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