Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

No, the type 'Map<object, object="">' is not considered a subtype of 'Map<string, dynamic="">'. This is because 'Object' is a super type of 'String', and 'dynamic' is a super type of 'Object'. Therefore, a value of type 'Object' could be something other than 'String', and a value of type 'dynamic' could be something other than 'Object', so they are not compatible.