locationValid property

bool get locationValid

Implementation

bool get locationValid =>
    locationMessage != null &&
    locationMessage?.location != null &&
    locationMessage!.location!.latitude != INV_LAT &&
    locationMessage!.location!.longitude != INV_LON &&
    locationMessage!.location!.latitude <= MAX_LAT &&
    locationMessage!.location!.longitude <= MAX_LON &&
    locationMessage!.location!.latitude >= MIN_LAT &&
    locationMessage!.location!.longitude >= MIN_LON;