handleError method

dynamic handleError(
  1. dynamic error
)

Fire MessageEvent which BaseView will listen and show an Error Dialog

Implementation

handleError(dynamic error) {
  _addToEvent(ErrorEvent(error: error));
}