Api class
Main entry point to library.
Constructors
- Api(DynamicLibrary dynamicLibrary)
-
The symbols are looked up in
dynamicLibrary
. -
Api.fromLookup(Pointer<
T> lookup<T extends NativeType>(String symbolName) ) -
The symbols are looked up with
lookup
. - Api.load()
-
The library is loaded based on platform conventions.
factory
- Api.loadDynamic(String name)
-
The library is dynamically loaded.
factory
- Api.loadStatic()
-
The library is loaded from the executable.
factory
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
-
createMemory(
List< int> package) → Future<Sdk> - Create a new in-memory sdk instance.
-
createPersistent(
String path, List< int> package) → Future<Sdk> - Creates a new persistent sdk instance.
-
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