AsyncSnapshotWithProgress<T, ProgressType extends Object>.waiting constructor

const AsyncSnapshotWithProgress<T, ProgressType extends Object>.waiting(
  1. ProgressType progress
)

Creates an AsyncSnapshotWithProgress in ConnectionState.waiting with null data and error.

Implementation

const AsyncSnapshotWithProgress.waiting(ProgressType progress)
    : this._(ConnectionState.waiting, null, null, null, progress);