NoticeMsg class

通知消息

Constructors

NoticeMsg({String command = NoticeMsgType.refresh, String userId = '', String? content, String? who})
NoticeMsg.from(Map<String, dynamic> data)

Properties

command String
通知类型
getter/setter pair
content String?
全局公告内容,仅 warnBroadcast 有信息
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userId String
通知接收者用户Id
getter/setter pair
who String?
全局公告发布者,仅 warnBroadcast 有信息
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