NoneMethodsExtension extension
- on
-
- _None
Methods
-
and<
U extends Object> (Option< U> other) → _None -
andThen<
U extends Object> (Option< U> f(void self)) → _None -
copy(
) → _None -
expect(
String msg) → Never -
filter(
bool predicate(void self)) → _None -
inspect(
dynamic f(void self)) → _None -
isNone(
) → bool -
isSome(
) → bool -
isSomeAnd(
bool f(void self)) → bool -
iter(
) → RIterator< _None> -
map<
U extends Object> (U f(void self)) → _None -
mapOr<
U> (U defaultValue, U f(void)) → U -
mapOrElse<
U> (U defaultFn(), U f(void)) → U -
okOr<
E extends Object> (E err) → Err< Never, E> -
okOrElse<
E extends Object> (E errFn()) → Err< Never, E> -
or<
T extends Object> (Option< T> other) → Option<T> -
orElse<
T extends Object> (Option< T> f()) → Option<T> -
toNullable<
T> () → T? -
unwrap(
) → Never -
unwrapOr<
T> (T defaultValue) → T -
unwrapOrElse<
T> (T f()) → T -
xor<
T extends Object> (Option< T> other) → Option<T> -
zip<
U extends Object> (Option< U> other) → _None -
zipWith<
U extends Object, R extends Object> (Option< U> other, R f(void p1, U p2)) → _None
Operators
-
operator [](
_OptionEarlyReturnKey op) → Never