Access to the native library. OpenBoneNative.libraryPath may be set before first use to load a specific build;
otherwise OPENBONE_LIBRARY (environment) is tried, then the platform's bundled plugin library, then a host build
made by tool/build_native.sh (.dart_tool/openbone_native/).
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
-
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
Static Properties
- apiVersion → int
-
OB_API_VERSIONof the loaded library.no setter - bindings → OpenBoneBindings
-
no setter
- hasScripts → bool
-
Whether the library embeds QuickJS (document scripts run).
no setter
- library → DynamicLibrary
-
no setter
- libraryPath ↔ String?
-
getter/setter pair
- version → String
-
ob_version(), e.g. "0.1.0".no setter
Static Methods
-
lastError(
[String fallback = 'failed']) → OpenBoneException -
ob_last_error()as an exception.