AddressValidationExtensions extension
Extensions for address validation checks.
- on
Properties
- containsLetters → bool
-
Available on String, provided by the AddressValidationExtensions extension
Checks if string contains letters.no setter - containsNumbers → bool
-
Available on String, provided by the AddressValidationExtensions extension
Checks if string contains numbers.no setter - containsSpecialChars → bool
-
Available on String, provided by the AddressValidationExtensions extension
Checks if string contains special characters.no setter - hasCity → bool
-
Available on String, provided by the AddressValidationExtensions extension
Checks if address has city.no setter - hasCountry → bool
-
Available on String, provided by the AddressValidationExtensions extension
Checks if address has country.no setter - hasPostalCode → bool
-
Available on String, provided by the AddressValidationExtensions extension
Checks if address has postal code.no setter - hasStreetName → bool
-
Available on String, provided by the AddressValidationExtensions extension
Checks if address has street name.no setter - hasStreetNumber → bool
-
Available on String, provided by the AddressValidationExtensions extension
Checks if address has street number.no setter
Methods
-
containsForbiddenWord(
List< String> ? words) → bool -
Available on String, provided by the AddressValidationExtensions extension
Checks if address contains forbidden words. -
containsRequiredWords(
List< String> ? words) → bool -
Available on String, provided by the AddressValidationExtensions extension
Checks if address contains required words. -
isDuplicate(
List< String> ? existing) → bool -
Available on String, provided by the AddressValidationExtensions extension
Checks if address is duplicate.