hasIcon property
bool
hasIcon
Whether this object has a non-null icon.
Implementation
bool get hasIcon => icon != null && icon != null;
Whether this object has a non-null icon.
bool get hasIcon => icon != null && icon != null;