listen method

StreamSubscription<bool> listen(
  1. void onData(
    1. bool
    )?
)

Implementation

StreamSubscription<bool> listen(void Function(bool)? onData) => _stateSC.stream.listen(onData);