Skip to content

Instantly share code, notes, and snippets.

@VB10
Created April 18, 2021 01:52
Show Gist options
  • Save VB10/39a00c370d0e7c8cb8016c7acdf8ecf3 to your computer and use it in GitHub Desktop.
Save VB10/39a00c370d0e7c8cb8016c7acdf8ecf3 to your computer and use it in GitHub Desktop.
validator
extension StringExtension on String {
bool validateMinLenght([double value = 6]) {
return this.length > value;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment