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