initialize method

void initialize(
  1. BlocEventChannel channel
)
inherited

Initializes this repository, adding the listeners produced by generateListeners to the given channel.

This can only be used a single time.

Implementation

void initialize(BlocEventChannel channel) {
  this.channel = channel;
  _listeners = generateListeners(channel);
}