FSValidators class

Common validation utilities

Provides static methods for common input validation scenarios including email, phone, URL, and password strength validation.

Constructors

FSValidators()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

checkPasswordStrength(String password) FSPasswordStrength
Password strength validation with comprehensive scoring
isEmail(String? value) bool
Email validation with comprehensive regex pattern
isEmpty(String? value) bool
Check if string is empty or contains only whitespace
isNotEmpty(String? value) bool
Check if string is not empty and contains non-whitespace characters
isNumeric(String? value) bool
Numeric validation for string input
isPhoneNumber(String? value) bool
Phone number validation with international support
isUrl(String? value) bool
URL validation supporting http, https, and protocol-relative URLs