location property

LatLng get location

Implementation

LatLng get location => newLocation ?? element!.center!;
set location (LatLng loc)

Implementation

set location(LatLng loc) {
  newLocation = loc;
  notifyListeners();
}