WasmFunction<F extends Function> class Null safety

Wasm typed function reference.

Inheritance

Constructors

WasmFunction.fromFunction(F f)
Create a typed function reference referring to the given function.
factory
WasmFunction.fromRef(WasmAnyRef ref)
Downcast anyref to a typed function reference.
factory

Properties

call → F
Call the function referred to by this typed function reference.
read-only
hashCode int
The hash code for this object.
read-onlyinherited
isObject bool
Whether this reference is a Dart object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toObject() Object
Downcast anyref to a Dart object.
inherited
toString() String
A string representation of this object.
inherited

Operators

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