failure method

void failure()

Stops the activity indicator with failure.

Implementation

void failure() {
  _stop();
  activity.render(_console, ActivityIndicatorState.failure);
}