handleMethodCall method

Future handleMethodCall(
  1. MethodCall call
)

Implementation

Future<dynamic> handleMethodCall(MethodCall call) async {
  switch (call.method) {
    case 'isDebuggerDetected':
      return _isDebuggerDetected();
    case 'isRootDetected':
      return _isRootDetected();
    case 'isEmulatorDetected':
      return _isEmulatorDetected();
    case 'isFridaDetected':
      return _isFridaDetected();
    default:
      throw MissingPluginException();
  }
}