PinchMessage.fromJson constructor

PinchMessage.fromJson(
  1. dynamic json
)

Implementation

factory PinchMessage.fromJson(dynamic json) {
  return PinchMessage(
      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);
}