How to pass Array of Strings with invokeMethod from Native to flutter?

Posted by Jennifer | Updated on

If you want to pass Array of Strings with invokeMethod from Native to flutter? The StandardMessageCodec doesn’t support arrays (except of int and byte). For objects, it supports Java collections, like List and Map. Change your array of String to a List.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers