NotificationMessage.fromJson constructor
Implementation
NotificationMessage.fromJson(final Map<String, dynamic> json)
: id = json["tag"],
title = json["title"],
body = json["body"],
image = json["image"],
payload = Map.from(json["payload"]),
group = json["group"],
largeImage = json["largImage"],
launch = json["launch"],
temolateType = TemplateType.values
.firstWhere((element) => element.name == json["temolateType"]);