X509Extension.fromJson constructor

X509Extension.fromJson(
  1. Map _json
)

Implementation

X509Extension.fromJson(core.Map _json)
    : this(
        critical: _json.containsKey('critical')
            ? _json['critical'] as core.bool
            : null,
        objectId: _json.containsKey('objectId')
            ? ObjectId.fromJson(
                _json['objectId'] as core.Map<core.String, core.dynamic>)
            : null,
        value:
            _json.containsKey('value') ? _json['value'] as core.String : null,
      );