onError method

void onError(
  1. dynamic error
)

Implementation

void onError(dynamic error) {
  clearState();
  _onError?.call(error);
}