ErrorBoundaryConfig class
Configuration for error boundary behavior.
Constructors
-
ErrorBoundaryConfig({ErrorBoundaryStrategy strategy = ErrorBoundaryStrategy.isolate, Duration retryDelay = const Duration(seconds: 1), int maxRetries = 3, Object? fallbackValue, Future<
Object?> fallbackOperation()?}) -
const
Properties
-
fallbackOperation
→ Future<
Object?> Function()? -
final
- fallbackValue → Object?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxRetries → int
-
final
- retryDelay → Duration
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- strategy → ErrorBoundaryStrategy
-
final
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