EncryptionConfiguration.fromJson constructor

EncryptionConfiguration.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory EncryptionConfiguration.fromJson(Map<String, dynamic> json) {
  return EncryptionConfiguration(
    kMSEncryptionConfig: json['KMSEncryptionConfig'] != null
        ? KMSEncryptionConfig.fromJson(
            json['KMSEncryptionConfig'] as Map<String, dynamic>)
        : null,
    noEncryptionConfig:
        (json['NoEncryptionConfig'] as String?)?.toNoEncryptionConfig(),
  );
}