call method

void call(
  1. MongoChange change
)

Emits a MongoChange to the stream and invokes the callback if defined.

Implementation

void call(MongoChange change) {
  _controller.add(change);
  if (_callback != null) _callback(change);
}