You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the database in Firestore: link as you can see it is exactly as it's needed;
However upon running the application from chapter 7 on "The EventDetails model class" we get
Unhandled Exception: Bad state: field does not exist within the DocumentSnapshotPlatform error message.
The error is caused because there's a missing field 'id' in our FireStore database, but we're trying to assign it from the EventDetail.fromMap named constructor
This needs to be updated, as we as a lot of deprecated code lines, such as getDocuments() (in favor of get()), documents() (in favor of docs()) etc;
The text was updated successfully, but these errors were encountered:
yes gangov thank you i solved it by your comment it was spell mistake it was not matching with firestore ids so i change name as in firestore in my code and its work now
This is the database in Firestore: link as you can see it is exactly as it's needed;
However upon running the application from chapter 7 on "The EventDetails model class" we get
Unhandled Exception: Bad state: field does not exist within the DocumentSnapshotPlatform error message.
The error is caused because there's a missing field 'id' in our FireStore database, but we're trying to assign it from the EventDetail.fromMap named constructor
This needs to be updated, as we as a lot of deprecated code lines, such as getDocuments() (in favor of get()), documents() (in favor of docs()) etc;
The text was updated successfully, but these errors were encountered: