delete method
void
delete()
Releases native resources for these options.
Implementation
void delete() {
checkState(!_deleted, message: 'XNNPackDelegate already deleted.');
if (_nativeWeightCacheFilePath != null) {
malloc.free(_nativeWeightCacheFilePath!);
}
calloc.free(_options);
_deleted = true;
}