wait<T> abstract method

  1. @protected
Future<T?> wait<T>(
  1. Future<T> computation, {
  2. String? tag,
})

Sets isLoading to true, then run the computation. Upon completion (including error), sets isLoading to false.

Implementation

@protected
Future<T?> wait<T>(Future<T> computation, {String? tag,});