DeviceUtility class final

A utility class for device-related operations and information.

Properties

deviceUtils DeviceUtils
There is device general utils for each platform
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getUniqueDeviceId() Future<String>
Retrieves the unique device ID for the current device.
initPackageInfo() Future<void>
Initializes the package information.
isIpad() Future<bool>
Checks if the current device is an iPad.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shareMailText(String title, String body) String
Generates a mailto link with the given title and body for sharing via email.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance DeviceUtility
Returns the singleton instance of DeviceUtility.
no setter