thenOrNull<R> method

FutureOr<R> thenOrNull<R>(
  1. R after(
    1. T? resolved
    )
)

Implementation

FutureOr<R> thenOrNull<R>(R after(T? resolved)) =>
    (this is Future<T?>) ? futureValue().then(after) as FutureOr<R> : after(this as T);