copyWith method

UserLocationView copyWith({
  1. PlacemarkMapObject? arrow,
  2. PlacemarkMapObject? pin,
  3. CircleMapObject? accuracyCircle,
})

Returns a copy of UserLocationView with new appearance

Implementation

UserLocationView copyWith({
  PlacemarkMapObject? arrow,
  PlacemarkMapObject? pin,
  CircleMapObject? accuracyCircle
}) {
  return UserLocationView._(
    arrow: arrow ?? this.arrow,
    pin: pin ?? this.pin,
    accuracyCircle: accuracyCircle ?? this.accuracyCircle
  );
}