copyWith method
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,
);
}