getPairedDeviceInfo method

  1. @override
Future<USBDeviceInfo> getPairedDeviceInfo(
  1. dynamic pairedDevice
)
override

Return a map of paired device's info

Implementation

@override
Future<USBDeviceInfo> getPairedDeviceInfo(dynamic pairedDevice) async {
  return methodChannel
      .invokeMethod<bool>('getPairedDeviceInfo', pairedDevice)
      .then<USBDeviceInfo>((dynamic result) => result);
}