getSelectedConfiguration method

  1. @override
Future<USBConfiguration?> getSelectedConfiguration(
  1. dynamic pairedDevice
)
override

Implementation

@override
Future<USBConfiguration?> getSelectedConfiguration(dynamic pairedDevice) {
  return methodChannel
      .invokeMethod<bool>('getSelectedConfiguration', pairedDevice)
      .then<USBConfiguration>((dynamic result) => result);
}