isRooted property

Future<bool?> isRooted

Check if rooted, it might be false alarm, some vendor add busybox for default, check method isRootedWithBusyBoxCheck

Implementation

static Future<bool?> get isRooted async {
  try {
    final bool? result = await _channel.invokeMethod('isRooted');
    return result;
  } catch (error) {
    return null;
  }
}