GTMessageModel class Null safety

Constructors

GTMessageModel({String? messageId, String? payload, String? payloadId, String? taskId, String? title, bool? offLine, String? content})
GTMessageModel.fromJson(Map json)

Properties

content String?
read / write
fromGeTui bool?
true 个推通道 false 苹果apns通道
read / write
hashCode int
The hash code for this object.
read-onlyinherited
messageId String?
推送消息的messageid
read / write
offLine bool?
only ios
read / write
payload String?
read / write
payloadId String?
only Android
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
sound String?
read / write
taskId String?
推送消息的任务id
read / write
title String?
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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