hasData property
bool
hasData
Whether this object has data associated with it.
Implementation
bool get hasData => data != null;
Whether this object has data associated with it.
bool get hasData => data != null;