EmscriptenModule class abstract interface

A loaded Emscripten module.

Instances are created by loadEmscriptenModule from package:native_toolchain_cmake/web.dart.

Properties

hashCode → int
The hash code for this object.
no setterinherited
raw → Object
The underlying JavaScript module object.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

callNum(String function, {List<Object?> args = const [], List<String> argTypes = const []}) → num
Calls an exported C function that returns a number.
callString(String function, {List<Object?> args = const [], List<String> argTypes = const []}) → String
Calls an exported C function that returns a string.
callVoid(String function, {List<Object?> args = const [], List<String> argTypes = const []}) → void
Calls an exported C function and discards the return value.
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