@override Future<void> setDeviceName(String name) async { await methodChannel.invokeMethod<void>('setDeviceName', {'name': name}); }