hasAlt property

bool get hasAlt

Returns true if alt is not null, otherwise false.

Implementation

bool get hasAlt => alt != null;