copyWith method
Implementation
ColumnSchema copyWith({
String? name,
String? type,
QueryPrintable? preconstraints,
List<ColumnConstrains>? constraints,
List<String>? parameters,
}) {
return ColumnSchema(
name ?? _name,
type ?? _type,
preconstraints: preconstraints ?? this.preconstraints,
constraints: constraints ?? this.constraints,
parameters: parameters ?? _parameters,
);
}