Device class
Device characteristic log.
- Annotations
Constructors
- Device({String sdkName = Constants.packageName, String sdkVersion = Constants.packageVersion, required String model, required String oemName, required String osName, required String osVersion, required String locale, required String screenSize, required String appVersion, required String appBuild, required String appNamespace})
-
const
-
Device.fromMap(Map<
String, dynamic> map)
Properties
- appBuild → String
-
The app's build number, e.g. 42.
final
- appNamespace → String
-
The bundle identifier, package identifier, or namespace,
depending on what the individual platforms use
final
- appVersion → String
-
Application version name.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- locale → String
-
Language code (example: en_US).
final
- model → String
-
Device model (example: iPad2,3).
final
- oemName → String
-
Device manufacturer (example: HTC).
final
- osName → String
-
OS name (example: iOS).
final
- osVersion → String
-
OS version (example: 9.3.0).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- screenSize → String
-
Screen size of the device in pixels (example: 640x480).
final
- sdkName → String
-
Name of the SDK.
final
- sdkVersion → String
-
Version of the SDK.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited