location property

String get location

Current location String, for example 'Mountain View, CA'.

Implementation

String get location => _location;
set location (String location)

Implementation

set location(String location) {
  if (location != _location) {
    _location = location;
    notifyListeners();
  }
}