ForeignInstanceStub class abstract
ForeignInstanceStub is an abstract class that is implemented by stubs for foreign classes. It provides convenience methods for managing cross-references with instances created in the foreign language environment as well as boiler plate code for dart ffi bookeeping.
Constructors
-
ForeignInstanceStub(Pointer<
Void> handle, void foreignFinalizer(Pointer<Void> )) - Constructor for the ForeignInstanceStub takes the handle to the foreign instance along with the foreign finalizer function that frees the foreign instance.
Properties
- asyncRunner → AsyncRunner
-
final
-
handle
→ Pointer<
Void> -
no setter
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited