error method

void error()

Implementation

void error() {
  status = LoadStatus.error;
  notifyListeners();
}