skip to Main Content

Traverse a JsonNode

This is how much JsonNode response has different key value pairs, similar to the example below. How can I traverse it to get the response in both key and value pair. Thank you. { "message": "Results field contain api response",…

VIEW QUESTION

Firebase – Flutter: A value of type 'Stream<List<object>>' can't be returned from the function 'getCheckInHistory' because it has a return type of 'List<object>'

I'm getting error in returning the response. I want the type to be List<ObjectModel> but it is returning Stream<List<ObjectModel>> I tried response as List<ObjectModel> but it is not solving the error. Please help List<ZohoModel> getCheckInHistory() { var response = FirebaseFirestore.instance…

VIEW QUESTION
Back To Top
Search