getPairedDeviceInfo method

Future<WatchOsPairedDeviceInfo> getPairedDeviceInfo()

Get paired WatchOS device info

Implementation

Future<WatchOsPairedDeviceInfo> getPairedDeviceInfo() async {
  String jsonString = await channel.invokeMethod("getPairedDeviceInfo");
  Map<String, dynamic> json = jsonDecode(jsonString);
  return WatchOsPairedDeviceInfo.fromJson(json);
}