RenewalSummary.fromJson constructor
RenewalSummary.fromJson(
- Map<String, dynamic> json
)
Implementation
factory RenewalSummary.fromJson(Map<String, dynamic> json) {
return RenewalSummary(
domainValidationRecords: (json['domainValidationRecords'] as List?)
?.whereNotNull()
.map(
(e) => DomainValidationRecord.fromJson(e as Map<String, dynamic>))
.toList(),
renewalStatus: (json['renewalStatus'] as String?)?.toRenewalStatus(),
renewalStatusReason: json['renewalStatusReason'] as String?,
updatedAt: timeStampFromJson(json['updatedAt']),
);
}