DomainValidationRecord.fromJson constructor

DomainValidationRecord.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DomainValidationRecord.fromJson(Map<String, dynamic> json) {
  return DomainValidationRecord(
    domainName: json['domainName'] as String?,
    resourceRecord: json['resourceRecord'] != null
        ? ResourceRecord.fromJson(
            json['resourceRecord'] as Map<String, dynamic>)
        : null,
  );
}