KeyVersionSpec.fromJson constructor

KeyVersionSpec.fromJson(
  1. Map _json
)

Implementation

KeyVersionSpec.fromJson(core.Map _json)
    : this(
        algorithm: _json.containsKey('algorithm')
            ? _json['algorithm'] as core.String
            : null,
        cloudKmsKeyVersion: _json.containsKey('cloudKmsKeyVersion')
            ? _json['cloudKmsKeyVersion'] as core.String
            : null,
      );