isValid property
Checks if the coordinates are valid
Returns
- True if the coordinates are valid, false otherwise
Implementation
bool get isValid {
return (latitude.toInt() != _maxInt32 && longitude.toInt() != _maxInt32) &&
(latitude != -99999 && longitude != -99999);
}