complete method

Resolvable<T> complete(
  1. FutureOr<T> value
)

Completes the operation with the provided value.

Implementation

@pragma('vm:prefer-inline')
Resolvable<T> complete(FutureOr<T> value) => resolve(Resolvable(() => value));