postJsonMessage method
Post message to unity from flutter. This method takes in a Json or map structure as the message.
The gameObject must match the name of an actual unity game object in a scene at runtime, and the methodName,
must exist in a MonoDevelop class and also exposed as a method. message is an parameter taken by the method
postJsonMessage("GameManager", "openScene", {"buildIndex": 3, "name": "ThirdScene"})
Implementation
Future<void>? postJsonMessage(
String gameObject, String methodName, Map<String, dynamic> message) {
throw UnimplementedError('postJsonMessage() has not been implemented.');
}