void initState() {
settoken();
print("=dateOrPartnerCollection==>${GlobalData.getdateOrPartnerCollection()}");
WidgetsBinding.instance.addObserver(this); //! inwidget
_localStreamController.stream.listen((event)=>print(event)); Fir ebaseFirestore.instance.collection(GlobalData.getdateOrPartnerCollection()).snapshots().listen((QuerySnapsho t querySnapshot) =>_localStreamController.add(querySnapshot));generateProfileIdList();
super.initState();
My code is working properly, but for debugging, when I want to print something on the terminal, it is not printing or getting changes after using this screen of can I solve this. I am using android.
New contributor
Sandeep Tale is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.