markDisposed method
- @nonVirtual
Marks this instance as disposed and clears originalPointer.
Called internally after the native resource is unloaded. Accessing getOriginalPointer after disposal will throw.
Implementation
@nonVirtual
void markDisposed() {
_isDisposed = true;
originalPointer = null;
}