Skip to content

[firebase_database] how to read #7632

Answered by deepak786
TheHypnoo asked this question in Q&A
Discussion options

You must be logged in to vote

cast the value to map

ref.onValue.map((event) {
    var value = (event.snapshot.value ?? {}) as Map;
});

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by TheHypnoo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants