Event class

Constructors

Event.source({required String name, required String source, Map<String, Object> parameters = const {}, required EventLogger logger})
Create an event, providing the source yourself.

Properties

hashCode int
The hash code for this object.
no setterinherited
logging → Logger
final
name String
no setter
parameters Map<String, Object>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addParameter({required String name, dynamic value}) → void
addParameters(Map<String, Object> parameters) → void
log() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

eventNameMaximumLength → const int
Analytics limitation.
parameterNullValue → const String
parameterSourceKey → const String