CloudWatchEncryption.fromJson constructor

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

Implementation

factory CloudWatchEncryption.fromJson(Map<String, dynamic> json) {
  return CloudWatchEncryption(
    cloudWatchEncryptionMode: (json['CloudWatchEncryptionMode'] as String?)
        ?.toCloudWatchEncryptionMode(),
    kmsKeyArn: json['KmsKeyArn'] as String?,
  );
}