errors property

List<String>? get errors

A list of error messages if the validation failed.

Implementation

List<String>? get errors => _errors;