PlaceAnOrder class final
Fire when a user submits an order, before payment is confirmed.
- Inheritance
-
- Object
- ColadaEvent
- PlaceAnOrder
Constructors
-
PlaceAnOrder({Map<
String, Object?> extras = const <String, Object?>{}}) -
Creates an order-placed event.
const
Properties
- eventName → String
-
Wire name sent to the backend, e.g.
Purchase.no setteroverride -
extras
→ Map<
String, Object?> -
Additional fields to attach.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
metadata
→ Map<
String, Object?> -
Event-specific fields, as sent in the backend's
metadataobject.no setteroverride - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object?> -
Flat representation, for forwarding into your own analytics or logs.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
validate(
) → void -
Throws ColadaInvalidEventException if this event cannot be sent.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited