onReleaseAll method
void
onReleaseAll(
- void releaseResourceCallback()
Registers releaseResourceCallback
to be executed on releaseAll.
Implementation
void onReleaseAll(void Function() releaseResourceCallback) {
_managedResourceReleaseCallbacks.add(releaseResourceCallback);
}