--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/932a736a-36d0-48cd-9723-ce614d877ea6%40googlegroups.com.
The map of arguments you're passing is:<int, int>{a: 1,b: 2,}However, Dart isn't JS: keys in maps aren't automatically quoted. By this, I mean {a: 1} is not equivalent to {'a': 1} like in JavaScript. Instead, the key is the value of the variable a.In this case, a is 1 and b is 2, so {a: 1, b: 2} is just {1: 1, 2: 2}. As a result, you're not actually passing arguments named "a" and "b", and the call.argument methods in Java are returning null.
On Sun, Sep 22, 2019, 3:52 AM Spandan Bhandari <spanndanb...@gmail.com> wrote:
After clicking the button I am getting below exceptions
--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutt...@googlegroups.com.