CourierStatus enum
A courier's status in one vocabulary, from order to delivery or return.
Experimental: the values may change in a minor release while more couriers' status lists are added.
Values
- pending → const CourierStatus
-
Ordered, not yet booked with the courier.
const CourierStatus('pending') - booked → const CourierStatus
-
Booked with the courier.
const CourierStatus('booked') - pickedUp → const CourierStatus
-
Collected by the courier.
const CourierStatus('picked-up') - inTransit → const CourierStatus
-
On its way.
const CourierStatus('in-transit') - outForDelivery → const CourierStatus
-
Out for delivery.
const CourierStatus('out-for-delivery') - attempted → const CourierStatus
-
A delivery attempt failed.
const CourierStatus('attempted') - underReview → const CourierStatus
-
Delivery is under review.
const CourierStatus('under-review') - delivered → const CourierStatus
-
Delivered.
const CourierStatus('delivered') - returning → const CourierStatus
-
On its way back to the sender.
const CourierStatus('returning') - returned → const CourierStatus
-
Returned to the sender.
const CourierStatus('returned') - cancelled → const CourierStatus
-
Cancelled.
const CourierStatus('cancelled')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
The value used by the npm package, e.g.
"out-for-delivery".final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String - Returns value.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
CourierStatus> - A constant List of the values in this enum, in order of their declaration.