JObject class
Class JObject is the root of the java class hierarchy in dart. Every dart class need has JObject as a superclass. All objects, including arrays, invoke all native method use callMethodSync from this.
- Inheritance
-
- Object
- NativeObject
- JObject
- Implementers
- Available Extensions
Constructors
Properties
Methods
-
callMethod(
String methodName, String returnType, {List? args, List< String> ? assignedSignature, Thread thread = Thread.mainThread}) → Future - Async call java method, you can use JObjectCallMethod extension method which is more simplify.
-
callMethodSync(
String methodName, String returnType, {List? args, List< String> ? assignedSignature}) → dynamic - Sync call java native method, you can use JObjectSyncCallMethod extension method which is more simplify.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited