DeviceInformation class
- Available extensions
Constructors
- DeviceInformation({String? deviceId, String? deviceName, String? osName, String? osVersion, num? osVersionCode, String? softwareName, String? softwareVersion, String? applicationId, String? applicationType, String? applicationName, String? applicationVersion, String? applicationBuildCode})
- DeviceInformation.fromJson(String source)
-
factory
Properties
- applicationBuildCode ↔ String
-
Application build number
getter/setter pair
- applicationId ↔ String
-
Application ID
getter/setter pair
- applicationName ↔ String
-
Application name
getter/setter pair
- applicationType ↔ String
-
Application type
getter/setter pair
- applicationVersion ↔ String
-
Application version
getter/setter pair
- deviceId ↔ String
-
Device ID
getter/setter pair
- deviceName ↔ String
-
Device Name
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- osName ↔ String
-
Operate system name
getter/setter pair
- osVersion ↔ String
-
Operate system version
getter/setter pair
- osVersionCode ↔ num
-
Operate system version code
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- softwareName ↔ String
-
Software name. And software means if application type applicationType
is
app
, this value will be equal to the application name applicationName. If application type applicationType isweb
, then software name will be equal to the browser's name.getter/setter pair - softwareVersion ↔ String
-
Software version (application version or browser version)
getter/setter pair
Methods
-
decoration(
{DeviceInformationDecorator< String> ? deviceId, DeviceInformationDecorator<String> ? osName, DeviceInformationDecorator<String> ? osVersion, DeviceInformationDecorator<String> ? softwareName, DeviceInformationDecorator<String> ? softwareVersion, DeviceInformationDecorator<String> ? applicationId, DeviceInformationDecorator<String> ? applicationType, DeviceInformationDecorator<String> ? applicationName, DeviceInformationDecorator<String> ? applicationVersion, DeviceInformationDecorator<String> ? applicationBuildCode}) → DeviceInformation -
Available on DeviceInformation, provided by the DeviceInformationExtension extension
Decorate the DeviceInformation object by providing decorators. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fetch(
{String? deviceId, String? osName, String? osVersion, num? osVersionCode, String? softwareName, String? softwareVersion, String? applicationId, String? applicationType, String? applicationName, String? applicationVersion, String? applicationBuildCode, DeviceInformationDecorators? decorators}) → Future< DeviceInformation> - Get basic client information
-
mockOff(
) → void - Stop test mode.
-
mockOn(
{String? deviceId, String? osName, String? osVersion, num? osVersionCode, String? softwareName, String? softwareVersion, String? applicationId, String? applicationType, String? applicationName, String? applicationVersion, String? applicationBuildCode}) → void - Change to test mode.