errorText property
String?
get
errorText
Gets the error message if there are any errors, or null if there are no errors.
Implementation
String? get errorText => hasErrors ? buildMessages().join("\n") : null;