errorMessages method

List<String> errorMessages()

Get the error messages from the validation responses

Implementation

List<String> errorMessages() {
  return errorResponses
      .map((response) => _formatMessage(response.rule))
      .toList();
}