DistanceApptiveGridSorting class
ApptiveGridSorting that sorts items by distance to a specific Geolocation
- Inheritance
-
- Object
- ApptiveGridSorting
- DistanceApptiveGridSorting
Constructors
- DistanceApptiveGridSorting({required Geolocation location, required String fieldId, required SortOrder order})
-
Creates a new sorting entity with
location
const
Properties
- fieldId → String
-
Field Id of the GridField the Items should be sorted by
finalinherited
- hashCode → int
-
The hash code for this object.
no setteroverride
- location → Geolocation
-
Items will be sorted by the distance to this location
final
- order → SortOrder
-
Order the items should be
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{String? fieldId, SortOrder? order, Geolocation? location}) → DistanceApptiveGridSorting -
Creates a new Version of ApptiveGridSorting changing the values of this with
fieldId
andorder
if they are not nulloverride -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toRequestObject(
) → dynamic -
Creates a map that the backend understands
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override