StandardMetadata class
Standardized delivery/pickup event metadata.
Constructors
-
StandardMetadata({required String eventTime, required String eventType, required String deliveryId, required String tourId, required String waypointLatitude, required String waypointLongitude, required String referenceLatitude, required String referenceLongitude, required String address, Map<
String, String> extra = const {}}) -
const
Properties
- address → String
-
Raw address string, if already normalised available.
final
- deliveryId → String
-
External identifier of the delivery, e.g. parcel ID.
final
- eventTime → String
-
Timestamp when the event happened.
final
- eventType → String
-
Name of the event, e.g. "pickup_successful", "delivery_successful".
final
-
extra
→ Map<
String, String> -
Additional optional metadata key-value pairs.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- referenceLatitude → String
-
Latitude where the courier is sent (building/destination).
final
- referenceLongitude → String
-
Longitude where the courier is sent (building/destination).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tourId → String
-
Identifier of the tour.
final
- waypointLatitude → String
-
Latitude where the courier is routed to (normally a coordinate on the street).
final
- waypointLongitude → String
-
Longitude where the courier is routed to (normally a coordinate on the street).
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited