toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final arn = this.arn;
  final databaseName = this.databaseName;
  final type = this.type;
  return {
    if (arn != null) 'Arn': arn,
    if (databaseName != null) 'DatabaseName': databaseName,
    if (type != null) 'Type': type,
  };
}