GlobalContextsConfiguration class

Configuration for global contexts that are automatically attached to every tracked event.

Global contexts are static entity schemas that will be appended to all events without needing to pass them on each tracker.track() call.

Annotations

Constructors

GlobalContextsConfiguration({required List<SelfDescribing> contexts})
const

Properties

contexts List<SelfDescribing>
List of static context entities to attach to all tracked events.
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
toMap() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

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