isDeviceRooted method

Future<bool> isDeviceRooted()

Checks if the device is rooted (Android) or Jailbroken (iOS).

Implementation

Future<bool> isDeviceRooted() async {
  return await _channel.invokeMethod('info.isDeviceRooted') ?? false;
}