notifyError method

void notifyError(
  1. dynamic error
)

Implementation

void notifyError(dynamic error) {
  _error = error.toString();
  notifyListeners();
}