ClientInformation class Null safety

Constructors

ClientInformation({String? deviceId, String? deviceName, String? osName, String? osVersion, 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
read / write
applicationId String
Application ID
read / write
applicationName String
Application name
read / write
applicationType String
Application type
read / write
applicationVersion String
Application version
read / write
deviceId String
Device ID
read / write
deviceName String
Device Name
read / write
hashCode int
The hash code for this object.
read-only, inherited
osName String
Operate system name
read / write
osVersion String
Operate system version
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
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 is web, then software name will be equal to the browser's name.
read / write
softwareVersion String
Software version (application version or browser version)
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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, String? softwareName, String? softwareVersion, String? applicationId, String? applicationType, String? applicationName, String? applicationVersion, String? applicationBuildCode}) Future<ClientInformation>
Get basic client information
mockOff() → void
Stop test mode.
mockOn({String? deviceId, String? osName, String? osVersion, String? softwareName, String? softwareVersion, String? applicationId, String? applicationType, String? applicationName, String? applicationVersion, String? applicationBuildCode}) → void
Change to test mode.