ListDomainsResponse.fromJson constructor

ListDomainsResponse.fromJson(
  1. Map _json
)

Implementation

ListDomainsResponse.fromJson(core.Map _json)
    : this(
        domains: _json.containsKey('domains')
            ? (_json['domains'] as core.List)
                .map((value) => Domain.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: _json.containsKey('nextPageToken')
            ? _json['nextPageToken'] as core.String
            : null,
      );