Device class

Annotations
  • @JsonSerializable.new()

Constructors

Device(bool simulator, String appVersion, String osName, String osVersion, String modelName, String name, String deviceId)
Device.fromJson(Map<String, dynamic> json)
factory

Properties

appVersion ↔ String
getter/setter pair
deviceId ↔ String
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
ipAddrs ↔ List<String>
getter/setter pair
modelName ↔ String
getter/setter pair
name ↔ String
getter/setter pair
osName ↔ String
getter/setter pair
osVersion ↔ String
getter/setter pair
profile ↔ Map<String, dynamic>?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
simulator ↔ bool
getter/setter pair
update ↔ int?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

create() → Future<Device>