copyWithSort method

Field<T> copyWithSort(
  1. SortField? sort
)

Implementation

Field<T> copyWithSort(SortField? sort) {
  return Field(
    this.fieldDefinition,
    this.labelId,
    this.filter,
    sort: sort,
    fieldDefForSortFilter: this.fieldDefForSortFilter,
    format: this.format,
    // width: this.width,
  );
}