ListCertificateAuthoritiesResponse.fromJson constructor

ListCertificateAuthoritiesResponse.fromJson(
  1. Map _json
)

Implementation

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