Domain.fromJson constructor

Domain.fromJson(
  1. Map json_
)

Implementation

Domain.fromJson(core.Map json_)
    : this(
        domainName: json_.containsKey('domainName')
            ? json_['domainName'] as core.String
            : null,
        domainRedirect: json_.containsKey('domainRedirect')
            ? DomainRedirect.fromJson(json_['domainRedirect']
                as core.Map<core.String, core.dynamic>)
            : null,
        provisioning: json_.containsKey('provisioning')
            ? DomainProvisioning.fromJson(
                json_['provisioning'] as core.Map<core.String, core.dynamic>)
            : null,
        site: json_.containsKey('site') ? json_['site'] as core.String : null,
        status: json_.containsKey('status')
            ? json_['status'] as core.String
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );