updateConfigs method
Implementation
void updateConfigs({
List<PatternItem>? patterns,
int? width,
Color? color,
}) {
this.patterns = patterns ?? this.patterns;
this.width = width ?? this.width;
this.color = color ?? this.color;
}
void updateConfigs({
List<PatternItem>? patterns,
int? width,
Color? color,
}) {
this.patterns = patterns ?? this.patterns;
this.width = width ?? this.width;
this.color = color ?? this.color;
}