hasWarning property

bool get hasWarning

Checks if the field has a warning.

Implementation

bool get hasWarning => warning != null;