requestDevices method

  1. @override
Future requestDevices(
  1. List<DeviceFilter> filters
)
override

Returns a Future with the device object that matches the specified filter by predefined vendor ID, product ID, class or subclass code, protocol code or serial number.

Implementation

@override
Future<dynamic> requestDevices(List<DeviceFilter> filters) {
  return methodChannel
      .invokeMethod<bool>('requestDevices', filters)
      .then<dynamic>((dynamic result) => result);
}