dispose method Null safety

  1. @FfiNative<Void Function(Pointer<Void>)>(Pointer<Void>)>('Scene::dispose')
void dispose()
FfiNative<Void Function(Pointer<Void>)>(Pointer<Void>)>('Scene::dispose')">@FfiNative<Void Function(Pointer<Void>)>(Pointer<Void>)>('Scene::dispose')

Releases the resources used by this scene.

After calling this function, the scene is cannot be used further.

This can't be a leaf call because the native function calls Dart API (Dart_SetNativeInstanceField).

Implementation

@FfiNative<Void Function(Pointer<Void>)>('Scene::dispose')
external void dispose();