listen method

void listen(
  1. void callback(
    1. String
    )
)

Implementation

void listen(void Function(String) callback) {
  _controller.stream.listen(callback);
}