hasData property

bool get hasData

Whether this state contains successfully loaded data.

Implementation

bool get hasData => status == XAsyncStatus.data && data != null;