copyWith method

LocationMultiArea copyWith({
  1. Circle? circle,
  2. Rectangle? rectangle,
})

Implementation

LocationMultiArea copyWith({Circle? circle, Rectangle? rectangle}) {
  return LocationMultiArea(
    circle: circle ?? this.circle,
    rectangle: rectangle ?? this.rectangle,
  );
}