destroy method Null safety

void destroy()

Destroy this object.

This method frees config.

Implementation

void destroy() => calloc.free(config);