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