dispose method

  1. @override
void dispose()
override

Implementation

@override
void dispose() {
  if (!disposed) {
    calloc.free(data);
    disposed = true;
  }
  super.dispose();
}