Future<bool> stopScan() async { final success = await methodChannel.invokeMethod<bool>('stopScan'); return success ?? false; }