copyWith method
Copy model with modified properties.
Properties:
color
: A color of the background in the RGB24 format
Implementation
@override
BackgroundFillSolid copyWith({
int? color,
}) =>
BackgroundFillSolid(
color: color ?? this.color,
);