Answers for "A value of type 'Object?' can't be assigned to a variable of type 'Map<String, dynamic>'."

0

A value of type 'Object?' can't be assigned to a variable of type 'Map<String, dynamic>'.

Map<String, dynamic> data = {};
data = ModalRoute.of(context).settings.arguments as Map<String, dynamic>;
Posted by: Guest on May-05-2022

Code answers related to "A value of type 'Object?' can't be assigned to a variable of type 'Map<String, dynamic>'."

Browse Popular Code Answers by Language