copyWith method
TreeColumn
copyWith({
- OdooField? field,
- ColumnAggregate? aggregate,
- ColumnOptional? optional,
- String? width,
- bool? editable,
- String? decoration,
Implementation
TreeColumn copyWith({
OdooField? field,
ColumnAggregate? aggregate,
ColumnOptional? optional,
String? width,
bool? editable,
String? decoration,
}) {
return TreeColumn(
field: field ?? this.field,
aggregate: aggregate ?? this.aggregate,
optional: optional ?? this.optional,
width: width ?? this.width,
editable: editable ?? this.editable,
decoration: decoration ?? this.decoration,
);
}