FfiWrapper class

Properties

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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
safeUsing<R>(R computation(Arena), [Allocator? allocator]) → R
Runs the provided computation function within an Arena, ensuring that all allocations are released upon completion.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

load(String modulePath, {Map<AppType, String> overrides = const {}}) Future<FfiWrapper>
Loads a dynamic library from the specified modulePath and returns an FfiWrapper instance encapsulating the library.