FutureSnapshot<T>.state constructor

const FutureSnapshot<T>.state(
  1. AsyncSnapshotState state, {
  2. T? data,
  3. Object? error,
  4. StackTrace? stackTrace,
})

Implementation

const FutureSnapshot.state(
  this.state, {
  this.data,
  this.error,
  this.stackTrace,
});