dispose method
Disposes the extension.
Implementation
@nonVirtual
Future<void> dispose() async {
if (_isDisposed) {
return;
}
try {
await onDispose();
} finally {
_isDisposed = true;
_isInitialized = false;
}
}
Disposes the extension.
@nonVirtual
Future<void> dispose() async {
if (_isDisposed) {
return;
}
try {
await onDispose();
} finally {
_isDisposed = true;
_isInitialized = false;
}
}