ProductiveDeviceVendorInfoLoader class abstract base

Productive (or release) version of DeviceVendorInfoLoader which report BiosInfo, BoardInfo and SystemInfo based on real information found in local machine. Once these data obtained already, it memorizes the result and reuse for incoming calls.

Any ProductiveDeviceVendorInfoLoader.new called during test will throw UnsupportedError. To uses DeviceVendorInfoLoader when performing test, uses MockDeviceVendorInfoLoader instead.

Inheritance

Properties

biosInfo Future<BiosInfo>
Extract BIOS information.
no setteroverride
boardInfo Future<BoardInfo>
Extract motherborad information.
no setteroverride
dictionary VendorDictionary
Obtain VendorDictionary for finding entity of hardware information.
no setter
hashCode int
The hash code for this object.
no setterinherited
isVirtualPlatform Future<bool>
Indicate this host is executed in virtual machine or a container.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
systemInfo Future<SystemInfo>
Extract system information.
no setteroverride

Methods

fetchBiosInfo(VendorDictionary dictionary) Future<BiosInfo>
Grab informations found in dictionary to construct BiosInfo when calling biosInfo.
fetchBoardInfo(VendorDictionary dictionary) Future<BoardInfo>
Grab informations found in dictionary to construct BoardInfo when calling boardInfo.
fetchIsVirtualPlatform() Future<bool>
Obtain result of running in virtual platform, which should be determined without using dictionary.
fetchSystemInfo(VendorDictionary dictionary) Future<SystemInfo>
Grab informations found in dictionary to construct SystemInfo when calling systemInfo.
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