MobPushNotifyMessage.fromJson constructor

MobPushNotifyMessage.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory MobPushNotifyMessage.fromJson(Map<String, dynamic> json) {
	return MobPushNotifyMessage(
                  title: json['title'],
                  content: json['content'],
                  messageId: json['messageId'],
                  timestamp: json['timestamp'],
                  style: json['style'],
                  channel: json['channel'],
                  voice: json['voice'],
                  shake: json['shake'],
                  extrasMap: json['extrasMap'],
                  inboxStyleContent: json['inboxStyleContent'],
                  styleContent: json['styleContent'],
                  light: json['light'],
                  badge: json['badge'],
                  sound: json['sound'],
                  subTitle: json['subTitle']);
}