CustomEvent class

The CustomEvent class extends the Event class and defines a custom event type with a label, action, and parameters.

Inheritance
Implementers

Constructors

CustomEvent(String label, String action, Map<String, Object>? parameters)

Properties

hashCode int
The hash code for this object.
no setterinherited
parameters Map<String, Object>
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

asMap() Map
The function returns a map with the values of type, label, action, and parameters.
inherited
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