hasWarning property

bool get hasWarning

Returns true if this field has a warning message.

This is a convenience getter that checks if warning is not null.

Implementation

bool get hasWarning => warning != null;