AnalyticsProductTracker class

Tracks (only the first time) when a check is true.

Constructors

AnalyticsProductTracker({required AnalyticsEvent analyticsEvent, required String barcode, required bool check()})

Properties

analyticsEvent → AnalyticsEvent
final
barcode → String
final
check → bool Function()
final
hashCode → int
The hash code for this object.
no setterinherited
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
toString() → String
A string representation of this object.
inherited
track() → void

Operators

operator ==(Object other) → bool
The equality operator.
inherited