dispose method

  1. @override
void dispose()
override

Implementation

@override
void dispose() {
  Vec.finalizer.detach(this);
  calloc.free(ptr.ref.ptr);
  calloc.free(ptr);
}