UnityWebController class

Constructors

UnityWebController({required dynamic listenMessageFromUnity(String data)})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendDataToUnity({required String gameObject, required String method, required String data}) → dynamic
Post message to unity from flutter. This method takes in a string data. 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
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited