updateStatus method

void updateStatus(
  1. PagifyAsyncCallStatus newStatus
)

Updates the current status and notifies listeners.

Implementation

void updateStatus(PagifyAsyncCallStatus newStatus) {
  currentState = newStatus;
  _controller.add(newStatus);
}