getAvailableConfigurations method

  1. @override
Future<List<USBConfiguration>> getAvailableConfigurations(
  1. dynamic pairedDevice
)
override

Return a list of available configuration to be selected

Implementation

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