hasWarning property
bool
get
hasWarning
Returns true if the model has any field-specific or general warnings.
This is a convenience getter that checks if either warnings or generalWarnings contain any messages.
Implementation
bool get hasWarning => warnings.isNotEmpty;