hasWarning property

bool get hasWarning

Checks if the model has any warnings.

Implementation

bool get hasWarning => warnings.isNotEmpty;