copyWith method

ApptiveGridSorting copyWith({
  1. String? fieldId,
  2. SortOrder? order,
})

Creates a new Version of ApptiveGridSorting changing the values of this with fieldId and order if they are not null

Implementation

ApptiveGridSorting copyWith({String? fieldId, SortOrder? order}) {
  return ApptiveGridSorting(
    fieldId: fieldId ?? this.fieldId,
    order: order ?? this.order,
  );
}