MockDeviceVendorInfoLoader class base
A replicated DeviceVendorInfoLoader which allows to assign BiosInfo, BoardInfo and SystemInfo for testing purpose.
- Implemented types
- Annotations
Constructors
- MockDeviceVendorInfoLoader.new(BiosInfo biosInfo, BoardInfo boardInfo, SystemInfo systemInfo)
- Create a mock loader which obtained immediately.
- MockDeviceVendorInfoLoader.simulateDelay(BiosInfo biosInfo, BoardInfo boardInfo, SystemInfo systemInfo, {int minimumDelay = 10, int maximumDelay = 250, int? seed})
-
Simulate a loader with delay to mock duration of fetching data
from system.
factory
Properties
-
biosInfo
→ Future<
BiosInfo> -
Extract BIOS information.
final
-
boardInfo
→ Future<
BoardInfo> -
Extract motherborad information.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
systemInfo
→ Future<
SystemInfo> -
Extract system information.
final
Methods
-
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