import 'package:rxdart/rxdart.dart'; /// Manage volatile global variables bonded to an account session, when the /// session ends (i.e., sign out), the variables are cleared class SessionController { SessionController(); void dispose() { _hasFiredMetadataTaskController.close(); } @Deprecated("Use MetadataController") ValueStream get hasFiredMetadataTask => _hasFiredMetadataTaskController.stream; @Deprecated("Use MetadataController") void setFiredMetadataTask(bool value) { _hasFiredMetadataTaskController.add(value); } final _hasFiredMetadataTaskController = BehaviorSubject.seeded(false); }