updatePointByKey method
Implementation
Marker updatePointByKey(Key? key, LatLng latlng) {
final idx = indexOfKey(key);
final oldMarker = this[idx];
this[idx] = oldMarker.copyWith(point: latlng);
return this[idx];
}
Marker updatePointByKey(Key? key, LatLng latlng) {
final idx = indexOfKey(key);
final oldMarker = this[idx];
this[idx] = oldMarker.copyWith(point: latlng);
return this[idx];
}