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.
Constructors
- SelfDescribing({required String schema, required dynamic data})
-
const
Properties
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