checkStatus<X> method
X?
checkStatus<X>(
- X operation()
Implementation
X? checkStatus<X>(X operation()) {
if (_isDisposed) {
return null;
} else {
return operation();
}
}