Future<int> leaveRoom() async { int code = await _channel.invokeMethod('leaveRoom') ?? -1; return code; }