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