onSnapshot property

Stream<DocumentSnapshot> get onSnapshot

Attaches a listener for DocumentSnapshot events.

Implementation

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