evade static method

Future<bool> evade({
  1. bool requiresNetwork = false,
  2. Function? evad,
})

Implementation

static Future<bool> evade(
    {bool requiresNetwork = false, Function? evad}) async {
  final bool result = await _channel
      .invokeMethod('evade', {"requiresNetwork": requiresNetwork});
  if (result == true) {
    if (evad != null) {
      evad();
    }
  }
  return result;
}