DeviceInfoPlusWindowsPlugin class
The Windows implementation of DeviceInfoPlatform
.
- Inheritance
-
- Object
- PlatformInterface
- DeviceInfoPlatform
- DeviceInfoPlusWindowsPlugin
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
deviceInfo(
) → Future< BaseDeviceInfo> -
Returns a WindowsDeviceInfo with information about the device.
override
-
getComputerName(
) → String -
getInfo(
) → WindowsDeviceInfo -
getOSVERSIONINFOEXPointer(
) → Pointer< OSVERSIONINFOEX> -
getRegistryValue(
int key, String subKey, String valueName, dynamic fallbackValue) → dynamic - Helper function derived from https://github.com/timsneath/win32/blob/main/example/sysinfo.dart.
-
getSYSTEMINFOPointer(
) → Pointer< SYSTEM_INFO> -
getSystemMemoryInMegabytes(
) → int -
getUserName(
) → String -
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
Static Methods
-
registerWith(
) → void - Register this dart class as the platform implementation for windows