DataPayload.fromJson constructor

DataPayload.fromJson(
  1. dynamic json
)

Implementation

factory DataPayload.fromJson(dynamic json) {
  assert(json is Map);

  return DataPayload(
      json["reference"],
      json["identifier"],
      json["notification"],
      json["notification_log_id"],
      Details.fromJson(json["details"]));
}