PublishMessageInfo.fromJson constructor
PublishMessageInfo.fromJson(
- Map json
Implementation
PublishMessageInfo.fromJson(Map json) {
messageId = json['messageId'];
timestamp = json['timestamp'];
message = json['message'];
publisherId = json['publisherId'];
subtopic = json['subtopic'];
pushSinglecast = json['pushSinglecast']?.cast<String>();
pushBroadcast = json['pushBroadcast'];
publishPolicy = json['publishPolicy'];
query = json['query'];
publishAt = json['publishAt'];
repeatEvery = json['repeatEvery'];
repeatExpiresAt = json['repeatExpiresAt'];
headers = json['headers'].cast<String, String>();
}