copyWith method

SelectTableSchema copyWith({
  1. List<String>? columns,
  2. String? from,
  3. String? as,
  4. WhereClause? where,
  5. List<JoinClause>? joins,
})

Implementation

SelectTableSchema copyWith(
    {List<String>? columns,
    String? from,
    String? as,
    WhereClause? where,
    List<JoinClause>? joins}) {
  return SelectTableSchema(
    from ?? this.from,
    columns: columns ?? this.columns,
    as: as ?? this.as,
    where: where ?? this.where,
    joins: joins ?? this.joins,
  );
}