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