copyWith method

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

Implementation

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