I am just trying the BehaviorSubject example code from here https://fireship.io/lessons/flutter-state-management-guide/
installed rxdart and observable from pub.dev, but this line errs
Observable get stream$ => _counter.stream;
error: A value of type 'ValueStream' can't be returned from function 'stream$' because it has a return type of 'Observable'. (return_of_invalid_type at lib\models\globals.dart:54)