PluginConfiguration class Initialization and configuration

Configuration of a plugin that observes events tracked by a tracker and adds context entities to them.

The plugin sees every event the tracker tracks, including events tracked automatically, such as screen views from the SnowplowObserver, lifecycle, session, installation and media events.

Annotations

Constructors

PluginConfiguration({required String identifier, AfterTrackCallback? afterTrack, List<SelfDescribing>? entities})
const

Properties

afterTrack → AfterTrackCallback?
Callback called after each event is tracked.
final
entities → List<SelfDescribing>?
Context entities attached to every event the tracker tracks.
final
hashCode → int
The hash code for this object.
no setterinherited
identifier → String
Unique identifier of the plugin within the tracker.
final
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