Structured class
Structured event
- Implemented types
- Annotations
Constructors
-
Structured({required String category, required String action, String? label, String? property, double? value, Set<
SelfDescribingJson> contexts = const {}}) - Creates a Structured event
Properties
- action → String
-
action The action of the structured event
final
- category → String
-
category The category of the structured event
final
-
contexts
→ Set<
SelfDescribingJson> -
contexts Attached custom contexts
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- label → String?
-
label The label of the structured event
final
- property → String?
-
property The property of the structured event
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → double?
-
value The value of the structured event
final
Methods
-
attach(
{required Set< SelfDescribingJson> contexts}) → Structured -
attach Attaches additional contexts to the event
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object?> -
Converts the event object to JSON.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override