Skip to content

Instantly share code, notes, and snippets.

@bettdouglas
Last active June 19, 2019 12:18
Show Gist options
  • Save bettdouglas/4bf6b022d6088c557c0230c1bc45947e to your computer and use it in GitHub Desktop.
Save bettdouglas/4bf6b022d6088c557c0230c1bc45947e to your computer and use it in GitHub Desktop.
class TypesValidator extends AbstractValidator<String> { ///the class responsible for validation logic
DataType type; ///The datatype we'll use
String text; ///the text that we'll validate
TypesValidator(this.text, this.type) : super(text);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment