Callbacks class

Manages callback functions that can be invoked by events.

Constructors

Callbacks({Map<String, void Function({Map<String, dynamic>? data})>? callbacks})
Creates a new callbacks manager.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

invoke(String name, {Map<String, dynamic>? data}) → void
Invokes a named callback with optional data.
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