WarningListener class abstract
A generic listener interface abstract class for receiving warning notifications.
Implementations of this interface are notified whenever the WarnerEngine detects new warnings.
The listener receives a list of Warning objects, each describing a specific event or condition that requires user attention.
Classes interested in warning updates should implement this listener
and register themselves via WarnerEngine.addWarningListener.
Constructors
-
WarningListener(void onWarningsLambda(List<
WarningUpdate> , WarningsRegistry)) -
A generic listener interface abstract class for receiving warning notifications.
factory
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onWarnings(
List< WarningUpdate> warnings, WarningsRegistry warningsRegistry) → void - Called after the every location update was processed.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited