SubDomain.fromJson constructor

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

Implementation

factory SubDomain.fromJson(Map<String, dynamic> json) {
  return SubDomain(
    dnsRecord: json['dnsRecord'] as String,
    subDomainSetting: SubDomainSetting.fromJson(
        json['subDomainSetting'] as Map<String, dynamic>),
    verified: json['verified'] as bool,
  );
}