TimedErrorMessage class
Represents an error message that can optionally be displayed for a limited duration.
This is useful for form validation scenarios where some errors should disappear automatically after a certain period.
Constructors
- TimedErrorMessage({required String error, required Duration? duration})
-
Creates a new TimedErrorMessage with the given
errorand optionalduration.
Properties
Methods
-
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