clearHalt method

  1. @override
Future clearHalt(
  1. dynamic device,
  2. String direction,
  3. int endpointNumber
)
override

Returns a Future that resolves when a halt condition is cleared.

Implementation

@override
Future clearHalt(dynamic device, String direction, int endpointNumber) {
  return methodChannel.invokeMethod<bool>('clearHalt', [
    device,
    direction,
    endpointNumber
  ]).then<void>((dynamic result) => result);
}