ErrorHandler class
An error handler.
Constructors
-
ErrorHandler(List<
ErrorListener> _errorListeners) - Creates an ErrorHandler.
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
-
report(
ErrorType type, dynamic error, {StackTrace? stackTrace, FlutterErrorDetails? flutterErrorDetails}) → void - Reports an error.
-
run(
void body()) → void -
Setups error handler and runs
body
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited