errorResponses property

List<FormValidationError> get errorResponses

Get the error responses from the validation responses

Implementation

List<FormValidationError> get errorResponses => responses
    .where((response) => response is FormValidationError)
    .cast<FormValidationError>()
    .toList();