toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final encrypted = this.encrypted;
  final cmkArn = this.cmkArn;
  return {
    'Encrypted': encrypted,
    if (cmkArn != null) 'CmkArn': cmkArn,
  };
}