listen method

void listen(
  1. Function? callback
)

Implementation

void listen(Function? callback) {
  _listener = callback;
}