ClientInformation class
- Available extensions
Constructors
- ClientInformation({String? deviceId, String? deviceName, String? osName, String? osVersion, num? osVersionCode, String? softwareName, String? softwareVersion, String? applicationId, String? applicationType, String? applicationName, String? applicationVersion, String? applicationBuildCode})
- ClientInformation.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(
{ClientInformationDecorator< String> ? deviceId, ClientInformationDecorator<String> ? osName, ClientInformationDecorator<String> ? osVersion, ClientInformationDecorator<String> ? softwareName, ClientInformationDecorator<String> ? softwareVersion, ClientInformationDecorator<String> ? applicationId, ClientInformationDecorator<String> ? applicationType, ClientInformationDecorator<String> ? applicationName, ClientInformationDecorator<String> ? applicationVersion, ClientInformationDecorator<String> ? applicationBuildCode}) → ClientInformation -
Available on ClientInformation, provided by the ClientInformationExtension extension
Decorate the ClientInformation 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, ClientInformationDecorators? decorators}) → Future< ClientInformation> - 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.