EmulatorGuard class
Constructors
- 
          EmulatorGuard({List<EmulatorDetectionMethod> ? androidMethods, List<EmulatorDetectionMethod> ? iosMethods, List<EmulatorDetectionMethod> ? linuxMethods, List<EmulatorDetectionMethod> ? macOsMethods, List<EmulatorDetectionMethod> ? windowsMethods, double androidThreshold = 50, double iosThreshold = 50, double linuxThreshold = 50, double macOsThreshold = 50, double windowsThreshold = 50})
Properties
- 
  androidMethods
  → List<EmulatorDetectionMethod> 
- 
  if none is provided, allAndroidMethods will be used
  final
- androidThreshold → double
- 
  The threshold for the emulator check result
If the score is greater than the threshold, the device is considered NOT physical
  final
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- 
  iosMethods
  → List<EmulatorDetectionMethod> 
- 
  if none is provided, allIosMethods will be used
  final
- iosThreshold → double
- 
  The threshold for the emulator check result
If the score is greater than the threshold, the device is considered NOT physical
  final
- 
  linuxMethods
  → List<EmulatorDetectionMethod> 
- 
  
  final
- linuxThreshold → double
- 
  The threshold for the emulator check result
If the score is greater than the threshold, the device is considered NOT physical
  final
- 
  macOsMethods
  → List<EmulatorDetectionMethod> 
- 
  
  final
- macOsThreshold → double
- 
  The threshold for the emulator check result
If the score is greater than the threshold, the device is considered NOT physical
  final
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- 
  windowsMethods
  → List<EmulatorDetectionMethod> 
- 
  
  final
- windowsThreshold → double
- 
  The threshold for the emulator check result
If the score is greater than the threshold, the device is considered NOT physical
  final
Methods
- 
  detect() → Future< EmulatorCheckResult> 
- Detects if the current device is an emulator or physical device.
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited