dispose method

  1. @override
void dispose()
override

Implementation

@override
void dispose() {
  if (_owned) {
    DartApi.native.publicKey.delete(_ffi);
    _ffi = nullptr;
    _owned = false;
  }
}