ScopeFunctionExt<T> extension

on
  • T

Methods

also(void block(T it)) → T

Available on T, provided by the ScopeFunctionExt extension

alsoAsync(FutureOr<void> block(T it)) Future<T>

Available on T, provided by the ScopeFunctionExt extension

let<R>(R block(T it)) → R

Available on T, provided by the ScopeFunctionExt extension

letAsync<R>(FutureOr<R> block(T it)) Future<R>

Available on T, provided by the ScopeFunctionExt extension

takeIf(bool predicament(T it)) → T?

Available on T, provided by the ScopeFunctionExt extension

takeUnless(bool predicament(T it)) → T?

Available on T, provided by the ScopeFunctionExt extension