isRooted static method

FutureEither<bool> isRooted()

Implementation

static FutureEither<bool> isRooted() async {
  return right(false);
  // try {
  //   final result = await RootDetector.isRooted(
  //     busyBox: true, // by default is false
  //     ignoreSimulator: false, // by default is false
  //   ); // type data is bool
  //   return right(result);
  // } on PlatformException catch (e) {
  //   return left(e.message ?? 'Unknown error');
  // }
}