take method
Takes the value out of this OnceCell, moving it back to an uninitialized state.
Implementation
@override
Option<T> take() {
var val = _cache[this] as T?;
if (val != null) {
_cache[this] = null;
return Some(val);
}
return None;
}