CaOptions.fromJson constructor

CaOptions.fromJson(
  1. Map _json
)

Implementation

CaOptions.fromJson(core.Map _json)
    : this(
        isCa: _json.containsKey('isCa') ? _json['isCa'] as core.bool : null,
        maxIssuerPathLength: _json.containsKey('maxIssuerPathLength')
            ? _json['maxIssuerPathLength'] as core.int
            : null,
      );