SelfDescribing class Adding data to your events Tracking events

Event to track custom information that does not fit into the out-of-the box events.

Self-describing events are a data structure based on JSON Schemas and can have arbitrarily many fields. To define your own custom self-describing event, you must create a JSON schema for that event and upload it to an Iglu Schema Repository using igluctl (or if a Snowplow BDP customer, you can use the Snowplow BDP Console UI or Data Structures API). Snowplow uses the schema to validate that the JSON containing the event properties is well-formed.

Implemented types
Annotations

Constructors

SelfDescribing({required String schema, required dynamic data})
const

Properties

data → dynamic
The custom data for the event.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schema String
A valid Iglu schema path.
final

Methods

endpoint() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, Object?>
override
toString() String
A string representation of this object.
inherited

Operators

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