MixPushMessage class
统一的推送消息模型
Constructors
- MixPushMessage({String? platform, String? title, String? description, String? payload})
-
const
- MixPushMessage.fromMap(Map map)
-
factory
Properties
- description → String?
-
通知栏副标题
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- payload → String?
-
推送附属的内容信息(一般约定为 JSON 字符串)
final
- platform → String?
-
推送所属平台,比如 mi / huawei / apns
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String?
-
通知栏标题
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited