toJson method

Map<String, dynamic> toJson()

Implementation

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