Supplied.fromJson constructor

Supplied.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory Supplied.fromJson(Map<String, Object?> json) => Supplied(
      attemptId:
          json["attempt_id"] == null ? null : json["attempt_id"] as String,
      by: json["by"] as String,
      channel: json["channel"] == null ? null : json["channel"] as String,
      resourceId:
          json["resource_id"] == null ? null : json["resource_id"] as String,
      resourceType: json["resource_type"] == null
          ? null
          : json["resource_type"] as String,
      suppliedAt: decodeDateTime(json["supplied_at"]),
    );