CertificateExtensionConstraints.fromJson constructor

CertificateExtensionConstraints.fromJson(
  1. Map json_
)

Implementation

CertificateExtensionConstraints.fromJson(core.Map json_)
    : this(
        additionalExtensions: json_.containsKey('additionalExtensions')
            ? (json_['additionalExtensions'] as core.List)
                .map((value) => ObjectId.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        knownExtensions: json_.containsKey('knownExtensions')
            ? (json_['knownExtensions'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );