KettleMessage.fromJson constructor
KettleMessage.fromJson(
- dynamic json
Implementation
factory KettleMessage.fromJson(dynamic json) {
return KettleMessage(
json["url"] as String,
json["expireTime"] as int,
json["timestamp"] as int,
json["messageTitle"] as String,
json["messageBody"] as String,
json["messageImageUrl"] as String,
json["deliveryId"] as String,
json["messageId"] as String,
json["opened"] as bool);
}