hasErrors property
bool
get
hasErrors
Whether any errors were encountered.
Implementation
bool get hasErrors => errors.isNotEmpty;
Whether any errors were encountered.
bool get hasErrors => errors.isNotEmpty;