Cannot cast data from firebase database #66
Unanswered
codebythura
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When casting snapshot to Map, it throws an exeption.
Map<String, dynamic> user = snapshot.value as Map<String, dynamic>;
type '_Map<Object?, Object?>' is not a subtype of type 'Map<String, dynamic>' in type cast
Beta Was this translation helpful? Give feedback.
All reactions