CryptoHashConfig.fromJson constructor

CryptoHashConfig.fromJson(
  1. Map json_
)

Implementation

CryptoHashConfig.fromJson(core.Map json_)
    : this(
        cryptoKey: json_.containsKey('cryptoKey')
            ? json_['cryptoKey'] as core.String
            : null,
        kmsWrapped: json_.containsKey('kmsWrapped')
            ? KmsWrappedCryptoKey.fromJson(
                json_['kmsWrapped'] as core.Map<core.String, core.dynamic>)
            : null,
      );