you need to add await keyword before the Future call: var documents = await loadDocuments() as List;. also, you need to change the return of ... ... <看更多>
Search
Search
you need to add await keyword before the Future call: var documents = await loadDocuments() as List;. also, you need to change the return of ... ... <看更多>
FLUTTER: Como resolver: "_TypeError ( type ' List dynamic ' is not a subtype of type 'Map String, dynamic ')"Lenguaje de programación de Google. ... <看更多>
That error means you are trying to assign a future to a list. use the .then((){}) method on the future to create a list and return it. future. ... <看更多>