StreamFirebaseDoc<T> constructor
StreamFirebaseDoc<T> ({})
Implementation
StreamFirebaseDoc({
required this.path,
required this.parse,
required this.onChange,
this.cancleOnError,
}) {
cancle = firestoreInstance
.doc(path)
.snapshots()
.handleError(_onError)
.listen(_listen, cancelOnError: false)
.cancel;
}