copyWith method

PolygonArgs copyWith({
  1. List<Coord>? coords,
  2. List<num>? radii,
  3. num? radius,
  4. Size? size,
  5. bool? useInCircle,
})

Implementation

PolygonArgs copyWith({
  List<Coord>? coords,
  List<num>? radii,
  num? radius,
  Size? size,
  bool? useInCircle,
}) =>
    PolygonArgs(
      coords: coords ?? this.coords,
      radii: radii ?? this.radii,
      radius: radius ?? this.radius,
      size: size ?? this.size,
      useInCircle: useInCircle ?? this.useInCircle,
    );