Mpost class
- Implemented types
Constructors
Properties
- controller ↔ MpostController
-
getter/setter pairoverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
calculateDistance(
DistanceRequest distanceRequest) → Future< Distance> -
calculateDistance
Takes DistanceRequest distanceRequest - The objcect with pickup and delivery address
return new
Distance
Objectoverride -
createDeliveryRequest(
NewDeliveryRequest deliveryRequest) → Future< DeliveryRequest> -
createDeliveryRequest
Returns new
DeliveryRequest
Objectoverride -
getDeliveryRequest(
int id) → Future< DeliveryRequest> -
@Param int id - The delivery request id
@Return new
DeliveryRequest
Objectoverride -
getDeliveryRequests(
) → Future< List< DeliveryRequest> > -
Return a list
List
of all DeliveryRequest for the accountoverride -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited