RenewalSummary.fromJson constructor
Implementation
factory RenewalSummary.fromJson(Map<String, dynamic> json) {
return RenewalSummary(
domainValidationOptions: (json['DomainValidationOptions'] as List)
.whereNotNull()
.map((e) => DomainValidation.fromJson(e as Map<String, dynamic>))
.toList(),
renewalStatus: (json['RenewalStatus'] as String).toRenewalStatus(),
updatedAt: nonNullableTimeStampFromJson(json['UpdatedAt'] as Object),
renewalStatusReason:
(json['RenewalStatusReason'] as String?)?.toFailureReason(),
);
}