copyWith method

TreeColumn copyWith({
  1. OdooField? field,
  2. ColumnAggregate? aggregate,
  3. ColumnOptional? optional,
  4. String? width,
  5. bool? editable,
  6. 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,
  );
}