reset method

  1. @override
Future reset(
  1. dynamic device
)
override

Returns a Future that resolves when the device is reset and all app operations canceled and their promises rejected

Implementation

@override
Future reset(dynamic device) {
  return methodChannel
      .invokeMethod<bool>('reset', device)
      .then<void>((dynamic result) => result);
}