QChatUpdateSystemNotificationParam class Null safety
"更新系统通知"接口入参
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
-
QChatUpdateSystemNotificationParam({required QChatUpdateParam updateParam, required int msgIdServer, required QChatSystemNotificationType type, int? status, Map<
String, dynamic> ? extension, String? body}) -
QChatUpdateSystemNotificationParam.fromJson(Map<
String, dynamic> json) -
factory
Properties
- body ↔ String?
-
通知内容
read / write
-
extension
↔ Map<
String, dynamic> ? -
通知扩展,SDK会转成json字符串使用
@JsonKey(fromJson: castPlatformMapToDartMap), read / write
- hashCode → int
-
The hash code for this object.
read-only, inherited
- msgIdServer → int
-
服务端生成的消息id,全局唯一,必填
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- status ↔ int?
-
状态,只能设置自定义(status>= 10000)
read / write
- type → QChatSystemNotificationType
-
通知类型
@JsonKey(fromJson: _systemNotificationTypeFromJson, toJson: __systemNotificationTypeToJson), final
- updateParam → QChatUpdateParam
-
更新操作通用参数,设置该操作相关的附加字段,设置该操作引发的推送内容,必填
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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