IsEmulatorMethod class
Detection method that checks if the device is an emulator from device_info_plus package.
- Inheritance
-
- Object
- EmulatorDetectionMethod
- IsEmulatorMethod
Constructors
- IsEmulatorMethod({double score = 100, String? reason = "DeviceInfo.isPhysicalDevice is false"})
Properties
Methods
-
execute(
) → Future< ({String? reason, double score})> -
Executes the method and returns a score between 0 and 100
override
-
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