S3EncryptionSettings.fromJson constructor

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

Implementation

factory S3EncryptionSettings.fromJson(Map<String, dynamic> json) {
  return S3EncryptionSettings(
    encryptionType:
        (json['encryptionType'] as String?)?.toS3ServerSideEncryptionType(),
    kmsKeyArn: json['kmsKeyArn'] as String?,
  );
}