Device class Null safety

Constructors

Device({Map<String, dynamic>? json})
Device.fromJson(Map<String, dynamic> json)
factory

Properties

allowPush bool
read / write
crs String?
read / write
deviceType String?
read / write
displayName String?
read / write
hashCode int
The hash code for this object.
read-onlyinherited
height double?
read / write
lastAppVersionCode String?
read / write
lastAppVersionName String?
read / write
make String?
read / write
meta Map<String, dynamic>?
read / write
model String?
read / write
osName String?
read / write
osVersion String?
read / write
pushId String?
read / write
remoteId String?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
x double?
read / write
y double?
read / write

Methods

fromJson(Map<String, dynamic>? json) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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

mkDevice() Future<Device>