ServerInfo class

服务端信息

type 类型,0:电脑 1: 安卓 2: 苹果 name 设备名称

Annotations
  • @JsonSerializable.new()

Constructors

ServerInfo({required int type, required String name, String? extra})
ServerInfo.fromJson(Map<String, dynamic> srcJson)
factory

Properties

extra String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type 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.
override

Operators

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