CertificateConfig.fromJson constructor

CertificateConfig.fromJson(
  1. Map _json
)

Implementation

CertificateConfig.fromJson(core.Map _json)
    : this(
        publicKey: _json.containsKey('publicKey')
            ? PublicKey.fromJson(
                _json['publicKey'] as core.Map<core.String, core.dynamic>)
            : null,
        reusableConfig: _json.containsKey('reusableConfig')
            ? ReusableConfigWrapper.fromJson(_json['reusableConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        subjectConfig: _json.containsKey('subjectConfig')
            ? SubjectConfig.fromJson(
                _json['subjectConfig'] as core.Map<core.String, core.dynamic>)
            : null,
      );