copyWith method
CircleOptions
copyWith({
- GeoPoint? position,
- Meter? radius,
- Color? color,
- LogicalPixel? strokeWidth,
- Color? strokeColor,
- Optional<
DashedStrokeCircleOptions?> ? dashedStrokeOptions, - bool? visible,
- Optional<
Object?> ? userData, - ZIndex? zIndex,
- Optional<
LevelId?> ? levelId,
Implementation
CircleOptions copyWith({
GeoPoint? position,
Meter? radius,
Color? color,
LogicalPixel? strokeWidth,
Color? strokeColor,
Optional<DashedStrokeCircleOptions?>? dashedStrokeOptions,
bool? visible,
Optional<Object?>? userData,
ZIndex? zIndex,
Optional<LevelId?>? levelId
}) {
return CircleOptions(
position: position ?? this.position,
radius: radius ?? this.radius,
color: color ?? this.color,
strokeWidth: strokeWidth ?? this.strokeWidth,
strokeColor: strokeColor ?? this.strokeColor,
dashedStrokeOptions: dashedStrokeOptions != null ? dashedStrokeOptions.value : this.dashedStrokeOptions,
visible: visible ?? this.visible,
userData: userData != null ? userData.value : this.userData,
zIndex: zIndex ?? this.zIndex,
levelId: levelId != null ? levelId.value : this.levelId
);
}