dart-league / validators

:turtle: String validation and sanitization for Dart.
https://pub.dartlang.org/packages/validators
MIT License
82 stars 27 forks source link

FormFieldValidator require a return value #12

Closed MallorcaSoftware closed 5 years ago

MallorcaSoftware commented 5 years ago

This function has a return type of 'String', but doesn't end with a return statement.

All FormFieldValidators should return null if no validation error occurs.

luisvt commented 5 years ago

could you add an example?

MallorcaSoftware commented 5 years ago

Sorry, this is a FormFieldValidator requirement. I will close this issue.