isValidPostalCode method
Implementation
bool isValidPostalCode() {
// Simple postal code validation - can be enhanced based on country
return RegExp(r'^[0-9A-Za-z\s\-]{3,10}$').hasMatch(this);
}
bool isValidPostalCode() {
// Simple postal code validation - can be enhanced based on country
return RegExp(r'^[0-9A-Za-z\s\-]{3,10}$').hasMatch(this);
}