ErrorManagement mixin

Mixin to manage the error state of an object.

Provides utilities to handle error states with optional messages and titles.

Properties

errorMessage String?
Getter for error message.
no setter
errorTitle String?
Getter for error title.
no setter
hasError ValueListenable<bool>
Public ValueListenable to observe the error state.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

disposeErrorManagement() → void
Dispose resources used in this mixin.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setError(bool hasError, {String? title, String? message}) → void
Sets the error state along with optional title and message.
toString() String
A string representation of this object.
inherited

Operators

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