copyWith method
Creates a copy of the current object with new values specified in arguments.
Implementation
BarChartGridStyle copyWith({
Color? color,
double? stroke,
}) =>
BarChartGridStyle(
color: color ?? this.color,
stroke: stroke ?? this.stroke,
);