waitTryOrNull<T> function

Future<T?> waitTryOrNull<T>(
  1. Future<T?> closure()
)

Returns the result of the given closure, or null if an Exception was raised.

Implementation

Future<T?> waitTryOrNull<T>(Future<T?> Function() closure) =>
    waitTryOr(null, closure);