Sam Garg
Sam Garg
fix null warnings while compiling for flutter 3.0 used recommended method for supporting for both flutter 3 and 2 (https://docs.flutter.dev/development/tools/sdk/release-notes/release-notes-3.0.0#your-code)
now support firestore documents with custom converter before documents initiated with withConverter collection couldn't be passed into function because function takes DocumentReference type but our doc is DocumentReference type error...
I added a condition to check if the window has a secure context. Without this check, debugging the issue will take some time.