mapAsyncJust<K> method
A Method to chain async access to data held by the Maybe. If this
is Nothing returns Nothing, if this
is Just, returns the result of the combiner
method over the value
inside Just
Implementation
FutureOr<Maybe<K>> mapAsyncJust<K>(FutureOr<Maybe<K>> Function(T) combiner) {
return when(
nothing: () => Nothing<K>(),
just: (T data) => combiner(data),
);
}