is/is_postal_code library
Functions
-
isPostalCode(
String? text, String locale, {bool orElse()?}) → bool -
Checks if the given
textmatches the postal code pattern for the specifiedlocale.
text matches the postal code pattern for the specified locale.