copyWith method
KeyStyleSpec
copyWith(
{ - KeyStyleKind? kind,
- int? outlineWidthCdp,
- int? extrudeDepthCdp,
- int? shadowOffsetCdp,
- int? shadowBlurCdp,
- int? opacityPermille,
- int? edgeShadePermille,
- int? stateLayerPermille,
- int? frostPermille,
- int? highlightPermille,
- int? refractionPermille,
})
Implementation
KeyStyleSpec copyWith({
KeyStyleKind? kind,
int? outlineWidthCdp,
int? extrudeDepthCdp,
int? shadowOffsetCdp,
int? shadowBlurCdp,
int? opacityPermille,
int? edgeShadePermille,
int? stateLayerPermille,
int? frostPermille,
int? highlightPermille,
int? refractionPermille,
}) => KeyStyleSpec(
kind: kind ?? this.kind,
outlineWidthCdp: outlineWidthCdp ?? this.outlineWidthCdp,
extrudeDepthCdp: extrudeDepthCdp ?? this.extrudeDepthCdp,
shadowOffsetCdp: shadowOffsetCdp ?? this.shadowOffsetCdp,
shadowBlurCdp: shadowBlurCdp ?? this.shadowBlurCdp,
opacityPermille: opacityPermille ?? this.opacityPermille,
edgeShadePermille: edgeShadePermille ?? this.edgeShadePermille,
stateLayerPermille: stateLayerPermille ?? this.stateLayerPermille,
frostPermille: frostPermille ?? this.frostPermille,
highlightPermille: highlightPermille ?? this.highlightPermille,
refractionPermille: refractionPermille ?? this.refractionPermille,
);