copyWith method

Relation copyWith({
  1. int? id,
  2. String? schema,
  3. String? table,
  4. SatRelation_RelationType? tableType,
  5. List<RelationColumn>? columns,
})

Implementation

Relation copyWith({
  int? id,
  String? schema,
  String? table,
  SatRelation_RelationType? tableType,
  List<RelationColumn>? columns,
}) {
  return Relation(
    id: id ?? this.id,
    schema: schema ?? this.schema,
    table: table ?? this.table,
    tableType: tableType ?? this.tableType,
    columns: columns ?? this.columns,
  );
}