is/is_postal_code library

Functions

isPostalCode(String? text, String locale, {bool orElse()?}) → bool
Checks if the given text matches the postal code pattern for the specified locale.