toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final dataSourceArn = this.dataSourceArn;
  final inputColumns = this.inputColumns;
  final name = this.name;
  final catalog = this.catalog;
  final schema = this.schema;
  return {
    'DataSourceArn': dataSourceArn,
    'InputColumns': inputColumns,
    'Name': name,
    if (catalog != null) 'Catalog': catalog,
    if (schema != null) 'Schema': schema,
  };
}