hasIcon property

bool hasIcon

Whether this object has a non-null icon.

Implementation

bool get hasIcon => icon != null && icon != null;