Closure call with mismatched arguments: function '[]' error is being shown in flutter
问题 In my program, this error comes in my laptop only. I typed the exact code as of the tutorial, but in tutorial, it is working fine, and i am getting this error - Closure call with mismatched arguments: function '[]' Receiver: Closure: () => Map<String, dynamic> from Function 'data':. Tried calling: []("message") Found: []() => Map<String, dynamic> This is my code, in which error is coming. If you want full details of functions, you can comment it out, and i will provide you the same in