AsyncSnapshotWithProgress<T, ProgressType extends Object>.withData constructor
const
AsyncSnapshotWithProgress<T, ProgressType extends Object>.withData (
- ConnectionState state,
- T data
Creates an AsyncSnapshotWithProgress in the specified state
and with
the specified data
.
Implementation
const AsyncSnapshotWithProgress.withData(ConnectionState state, T data)
: this._(state, data, null, null, null);