hasError property

  1. @override
bool hasError

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

Implementation

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

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

Implementation

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