copyWith method
BorderSideDto
copyWith({
- ColorDto? color,
- double? width,
- BorderStyle? style,
- double? strokeAlign,
Implementation
BorderSideDto copyWith({
ColorDto? color,
double? width,
BorderStyle? style,
double? strokeAlign,
}) {
return BorderSideDto(
color: color ?? this.color,
strokeAlign: strokeAlign ?? this.strokeAlign,
style: style ?? this.style,
width: width ?? this.width,
);
}