Answers for "the argument type 'string' can't be assigned to the parameter type 'map<dynamic, dynamic>'"

3

The argument type 'Object?' can't be assigned to the parameter type 'Map<String, dynamic>

Have you tried adding 'as Map<String, dynamic>' next to the error?
Posted by: Guest on July-27-2021
0

The argument type 'Object? Function()' can't be assigned to the parameter type 'Map<String, dynamic>'

snapshot.data() as Map<String, dynamic>
Posted by: Guest on February-13-2022

Code answers related to "the argument type 'string' can't be assigned to the parameter type 'map<dynamic, dynamic>'"

Browse Popular Code Answers by Language