unroot method

Future<void> unroot({
  1. bool debug = false,
})

Unroots the connection with the device.

Implementation

Future<void> unroot({bool debug = false}) async {
  if (!await isRooted(debug: debug)) {
    return;
  }
  return await _bridge.executor.unroot(_connection.arguments, debug: debug);
}