@pragma('vm:prefer-inline') Some<Option<T>> swap() { if (this is Some<Some<T>>) { return this as Some<Some<T>>; } return (this as None<Some<T>>).swap(); }