Future<String?> getSerial() async { final serial = await methodChannel.invokeMethod<String>('getSerial'); return serial; }