data property
T?
get
data
The data from the async operation, if available.
Returns the data for AsyncSuccess state, null for AsyncLoading and AsyncError states.
Implementation
T? get data =>
this is AsyncSuccess<T> ? (this as AsyncSuccess<T>).value : null;