Domains.fromJson constructor

Domains.fromJson(
  1. Map json_
)

Implementation

Domains.fromJson(core.Map json_)
    : this(
        creationTime: json_.containsKey('creationTime')
            ? json_['creationTime'] as core.String
            : null,
        domainAliases: json_.containsKey('domainAliases')
            ? (json_['domainAliases'] as core.List)
                .map((value) => DomainAlias.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        domainName: json_.containsKey('domainName')
            ? json_['domainName'] as core.String
            : null,
        etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
        isPrimary: json_.containsKey('isPrimary')
            ? json_['isPrimary'] as core.bool
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        verified: json_.containsKey('verified')
            ? json_['verified'] as core.bool
            : null,
      );