NativeApi class - dart:ffi library (original) (raw)
Utilities for accessing the Dart VM API from Dart code or from C code via dart_api_dl.h.
Properties
The hash code for this object.
no setterinherited
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
A string representation of this object.
inherited
Operators
operator ==(Object other)→ bool
The equality operator.
inherited
Static Properties
closeNativePort → Pointer<NativeFunction<Int8 Function(Int64)>>
A function pointer tobool Dart_CloseNativePort(Dart_Port native_port_id)in dart_native_api.h.
no setter
initializeApiDLData → Pointer<Void>
Pass this to Dart_InitializeApiDL in your native code to enable using the symbols in dart_api_dl.h.
no setter
On breaking changes the major version is increased.
no setter
On backwards compatible changes the minor version is increased.
no setter
newNativePort → Pointer<NativeFunction<Int64 Function(Pointer<Uint8>, Pointer<NativeFunction<Dart_NativeMessageHandler>>, Int8)>>
A function pointer to
no setter
postCObject → Pointer<NativeFunction<Int8 Function(Int64, Pointer<Dart_CObject>)>>
A function pointer tobool Dart_PostCObject(Dart_Port port_id, Dart_CObject* message)in dart_native_api.h.
no setter