dispose method Null safety

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

Release the resources used by this object. The object is no longer usable after this method is called.

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

Implementation

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