dispose method Null safety

  1. @FfiNative<Void Function(Pointer<Void>)>(Pointer<Void>)>('Codec::dispose')
void dispose()
FfiNative<Void Function(Pointer<Void>)>(Pointer<Void>)>('Codec::dispose')">@FfiNative<Void Function(Pointer<Void>)>(Pointer<Void>)>('Codec::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>)>('Codec::dispose')
external void dispose();