hasError property

  1. @override
bool get hasError
override

Whether a component within the tree that the ErrorBoundary is wrapping around threw an error.

Implementation

@override
bool get hasError =>
    (state[_$key__hasError__ErrorBoundaryState] ?? null) as bool;
  1. @override
set hasError (bool value)
override

Whether a component within the tree that the ErrorBoundary is wrapping around threw an error.

Implementation

@override
set hasError(bool value) =>
    state[_$key__hasError__ErrorBoundaryState] = value;