getLocalDevice method
Get current local device (your phone) information
This method returns a single WearOsDevice
Implementation
Future<WearOsDevice> getLocalDevice() async {
Map data = (await channel.invokeMethod("getLocalDeviceInfo")) as Map? ?? {};
return WearOsDevice.fromRawData(channel, data.toMapStringDynamic());
}