Error: Expected a value of type 'Map<String, dynamic>', but got one of type 'List<dynamic>' cloud functions code example
Example: flutter map dynamic
Map var = {'item': 0, 'name': 'John'}
Map var = {'item': 0, 'name': 'John'}