NexusEvents class

Product analytics. Events are buffered, batched, and handed to the durable outbox — correlated to the current session and retried until delivered.

Constructors

NexusEvents(NexusOutbox _outbox, NexusIdentity _id, NexusConfig _cfg)

Properties

hashCode → int
The hash code for this object.
no setterinherited
onTracked ↔ void Function(String name)?
Notified with each tracked event name (used to fire survey event triggers).
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
flush() → Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
track(String name, {Map<String, Object?>? properties}) → void
Track a named event with optional properties.

Operators

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