toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final encryptionType = this.encryptionType;
  final kmsKeyArn = this.kmsKeyArn;
  return {
    if (encryptionType != null) 'encryptionType': encryptionType.toValue(),
    if (kmsKeyArn != null) 'kmsKeyArn': kmsKeyArn,
  };
}