change method

  1. @protected
void change(
  1. GetStatus<T> status
)

Changes the status if it's different from the current status.

Implementation

@protected
void change(GetStatus<T> status) {
  if (status != this.status) {
    this.status = status;
  }
}