IgnorableErrNotifier<T> class

A variant of ErrNotifier that does not have listeners and ignores calls to set() and log().

Inheritance
Annotations
  • @sealed

Constructors

IgnorableErrNotifier()

Properties

hasError → bool
Whether or not there was an error. true is returned if lastError is not equal to the default value.
read-only, inherited
hashCode → int
The hash code for this object. [...]
read-only, inherited
lastError → T
The latest error value that was notified most recently.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

log(dynamic exception, [StackTrace stack, dynamic context]) → void
Does nothing.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
set(T error, [dynamic exception, StackTrace stack, dynamic context]) → void
Only updates lastError.
override
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited