DeviceInfo class

设备信息

Constructors

DeviceInfo({String? description, String? model, String? serialNumber, String? firmwareVersion})
const
DeviceInfo.fromMap(Map<String, dynamic> map)
factory

Properties

description String?
设备描述
final
firmwareVersion String?
固件版本
final
hashCode int
The hash code for this object.
no setterinherited
model String?
设备型号
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serialNumber String?
设备序列号
final

Methods

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

Operators

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