[Firebase_database] Receiving _InternalLinkedHashMap where should be a List #6073
Unanswered
jesusc0310
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.
-
I'm creating an app which backend is on Firebase Realtime Database, i'm querying for data from a list from 20 to 20.
First 2 times i get a
List
as expected, but 3rd time I get an_InternalLinkedHashMap
instead.Here i call my list, that was imported from a well-formed json and it's a 1000 object list
After that, i added this code to prevent an unhandled Exception, cause
_InternalLinkedHashMap<Object?, Object?>
is not a subtype ofList<Object?>
I don't know if this is usual or not, my query works properly, but received values are not as expected.
What can i do to work this response just as a
List
and not as a_InternalLinkedHashMap
?Beta Was this translation helpful? Give feedback.
All reactions