EventInfo class

Used to add context to the event send.

  • category: The event category. Must not be empty. (eg. Videos, Music, Games...). This corresponds with e_c.

  • action: The event action. Must not be empty. (eg. Play, Pause, Duration, Add Playlist, Downloaded, Clicked...). This corresponds with e_a.

  • name: The event name. (eg. a Movie name, or Song name, or File name...). This corresponds with e_n.

  • value: The event value. This corresponds with e_v.

Note: Strings filled with whitespace will be considered as (invalid) empty values.

Constructors

EventInfo({required String category, required String action, String? name, num? value})
factory

Properties

action String
final
category String
final
hashCode int
The hash code for this object.
no setterinherited
name String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value num?
final

Methods

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

Operators

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