ImportDomainRequest.fromJson constructor

ImportDomainRequest.fromJson(
  1. Map json_
)

Implementation

ImportDomainRequest.fromJson(core.Map json_)
    : this(
        domainName: json_.containsKey('domainName')
            ? json_['domainName'] as core.String
            : null,
        labels: json_.containsKey('labels')
            ? (json_['labels'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
      );