ListNotifierGroupMixin mixin

A mixin for managing a group of listeners identified by an ID.

Superclass constraints
Mixin applications

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

addListener(VoidCallback listener) → void
Register a closure to be called when the object notifies its listeners.
inherited
addListenerId(Object? key, GetStateUpdate listener) Disposer
Adds a listener to a specific group ID.
containsId(Object id) bool
Checks if a specific ID exists in the group.
dispose() → void
Disposes all listeners in the group.
disposeId(Object id) → void
Disposes of a specific ID from future updates.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyGroupChildren(Object id) → void
Notifies all children of a given group ID.
refreshGroup(Object id) → void
Refreshes all listeners associated with a specific ID.
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that the object notifies.
inherited
removeListenerId(Object id, VoidCallback listener) → void
Removes a specific listener from a group by ID.
toString() String
A string representation of this object.
inherited

Operators

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