toRequestObject method
Creates a map that the backend understands
Implementation
@override
toRequestObject() {
return {
fieldId: {
'\$order': order.requestValue,
'\$distanceTo': {
'location': {
'lat': location.latitude,
'lon': location.longitude,
}
}
}
};
}