CommerceOverview class
Constructors
- CommerceOverview({num? aov, bool? available, int? orders, String? reason, num? revenue, String? source_})
- Returns a new CommerceOverview instance.
Properties
- aov ↔ num?
-
AOV is average order value — Revenue/Orders, rounded to two places. Zero when there were no orders.
getter/setter pair
- available ↔ bool?
-
Available is false when the product-event table could not be read — the lens is reported missing rather than as zeros that look like no sales.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- orders ↔ int?
-
Orders is how many order_completed events landed in the window.
getter/setter pair
- reason ↔ String?
-
Reason says why the lens is unavailable. Omitted when it is available.
getter/setter pair
- revenue ↔ num?
-
Revenue is the total those orders carried, in the events' own currency unit.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source_ ↔ String?
-
Source is the warehouse table the lens read.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → CommerceOverview? -
Returns a new CommerceOverview instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< CommerceOverview> -
mapFromJson(
dynamic json) → Map< String, CommerceOverview> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< CommerceOverview> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.