toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final dataSourceArn = this.dataSourceArn;
  final name = this.name;
  final sqlQuery = this.sqlQuery;
  final columns = this.columns;
  return {
    'DataSourceArn': dataSourceArn,
    'Name': name,
    'SqlQuery': sqlQuery,
    if (columns != null) 'Columns': columns,
  };
}