FutureOrNullableExts<T> extension Null safety

on

Methods

also(void consumer(T? input)) FutureOr<T?>
and<R>(FutureOr<R> mapper(T input)) FutureOr<Tuple<T, R>>
filterNotNull() FutureOr<T>
futureValueOrNull() Future<T?>
nonNull<R>(FutureOr<R> block(T nonNullValue)) FutureOr<R?>
resolve([T? or]) → T?
resolveOrNull([T? or]) → T?
thenCast<R>() FutureOr<R?>
thenOrNull<R>(R after(T? resolved)) FutureOr<R>