DeviceInfo class
Author lijinghuan Email:ljh0576123@163.com CreateTime:2023-01-30 Description:Generated file. Do not edit. Modifier: ModifyContent:
Constructors
-
DeviceInfo({String deviceId = '', int deviceType = 0, String manufacturer = '', String brand = '', String model = '', String board = '', String hardware = '', String host = '', String display = '', String density = '', String sys = '', String abis = '', String extension = '', Map<
String, dynamic> ? json}) -
DeviceInfo.fromJson(Map<
String, dynamic> json) -
factory
Properties
- abis ↔ String
-
abis
getter/setter pair
- board ↔ String
-
主板名称
getter/setter pair
- brand ↔ String
-
品牌
getter/setter pair
- density ↔ String
-
屏幕密度
getter/setter pair
- deviceId ↔ String
-
设备号
getter/setter pair
- deviceType ↔ int
-
设备类型必须是:1-android 2-ios 3-mac 4-windows
getter/setter pair
- display ↔ String
-
显示器大小
getter/setter pair
- extension ↔ String
-
扩展参数
getter/setter pair
- hardware ↔ String
-
硬件名称
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- host ↔ String
-
主机
getter/setter pair
- manufacturer ↔ String
-
厂商
getter/setter pair
- model ↔ String
-
型号
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sys ↔ String
-
系统
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