SslCert.fromJson constructor

SslCert.fromJson(
  1. Map _json
)

Implementation

SslCert.fromJson(core.Map _json)
    : this(
        cert: _json.containsKey('cert') ? _json['cert'] as core.String : null,
        certSerialNumber: _json.containsKey('certSerialNumber')
            ? _json['certSerialNumber'] as core.String
            : null,
        commonName: _json.containsKey('commonName')
            ? _json['commonName'] as core.String
            : null,
        createTime: _json.containsKey('createTime')
            ? _json['createTime'] as core.String
            : null,
        expirationTime: _json.containsKey('expirationTime')
            ? _json['expirationTime'] as core.String
            : null,
        instance: _json.containsKey('instance')
            ? _json['instance'] as core.String
            : null,
        kind: _json.containsKey('kind') ? _json['kind'] as core.String : null,
        selfLink: _json.containsKey('selfLink')
            ? _json['selfLink'] as core.String
            : null,
        sha1Fingerprint: _json.containsKey('sha1Fingerprint')
            ? _json['sha1Fingerprint'] as core.String
            : null,
      );