complete method

void complete(
  1. NetworkEvent event
)

Notifies listeners that event (already mutated in place by the caller with response/error fields) has completed.

Implementation

void complete(NetworkEvent event) {
  notifyListeners();
}