locationOrEmpty property
Location
get
locationOrEmpty
Returns the location if it's successful, or an empty location if it's an error.
Implementation
Location get locationOrEmpty => _location ?? Location.empty;