AsyncSnapshot<T>.withData constructor
AsyncSnapshot<T>.withData ({
- required ConnectionState connectionState,
- required T data,
Implementation
factory AsyncSnapshot.withData({
required final ConnectionState connectionState,
required final T data,
}) =>
AsyncSnapshot._(connectionState: connectionState, data: data);