SynchronousFuture<T> constructor

SynchronousFuture<T>(
  1. T _value
)

Creates a synchronous future.

See also:

  • Future.value for information about creating a regular Future that completes with a value.

Implementation

SynchronousFuture(this._value);