foreign_instance_stub library

Classes

ForeignInstanceStub
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.

Exceptions / Errors

InstanceCreateError
InstanceCreateError is thrown if the foreign instance handle is null when the stub is instantiated.