isRooted method

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

Checks if the connection with the device is rooted.

Implementation

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