@override Future<List<Device>> getPairedDevices() async { var res = await methodChannel.invokeListMethod("getDevices"); return res!.map((e) => Device.fromMap(e)).toList(); }