validate static method
Validates str
by _defaultValidator
or customValidator.
Implementation
static bool validate(String str) =>
customValidator?.call(str) ?? _defaultValidator(str);
Validates str
by _defaultValidator
or customValidator.
static bool validate(String str) =>
customValidator?.call(str) ?? _defaultValidator(str);