hasItem property
bool
get
hasItem
Returns true if item
is not null, otherwise false.
Implementation
bool get hasItem => item != null;
Returns true if item
is not null, otherwise false.
bool get hasItem => item != null;