onSnapshot property

Stream<QuerySnapshot> get onSnapshot

Attaches a listener for QuerySnapshot events.

Implementation

Stream<QuerySnapshot> get onSnapshot => _onSnapshotController.stream;