hasIcon property

bool get hasIcon

Implementation

bool get hasIcon => icon != null;