@override Future<bool> writeBytes(Uint8List message) async { var res = await methodChannel .invokeMethod<bool>("writeBytes", message); return res!; }