listen method

void listen(
  1. void onData(
    1. dynamic event
    )
)

Implementation

void listen(void Function(dynamic event) onData) =>
    _streamController.stream.listen(onData);