dispose method

void dispose()
inherited

Disposes the native object.

The object can be disposed manually to free up resources immediately. Can be invoked by the API user when the object is no longer needed.

This step is not normally required, as the object will be released automatically when no longer used in Dart.

Implementation

void dispose() {
  GemKitPlatform.instance.callDeleteObject(
    jsonEncode(<String, Object>{'class': 'Any', 'id': _pointerId}),
  );
}