PalEventContext class

Inheritance

Constructors

PalEventContext({required PalSession session, required String name, required PalEvents event, Map<String, dynamic>? attrs})
const
PalEventContext.fromEvent(PalSession session, PalEvent palEvent)
factory

Properties

attrs Map<String, dynamic>?
attributes for sending custom event data
finalinherited
hashCode int
The hash code for this object.
no setterinherited
name String
name of the event as it is registered on the server
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
session PalSession
the current user device session
final
type PalEvents
the event type triggered by the app
finalinherited

Methods

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

Operators

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