addStatusListener method

void addStatusListener(
  1. DoughStatusCallback callback
)

Adds a status listener.

Implementation

void addStatusListener(DoughStatusCallback callback) {
  _statusListeners.add(callback);
}