hasCity property
bool
get
hasCity
Checks if address has city.
Implementation
bool get hasCity => RegExp(r'[a-zA-Z]{2,}').hasMatch(this);
Checks if address has city.
bool get hasCity => RegExp(r'[a-zA-Z]{2,}').hasMatch(this);