updateConfigs method

void updateConfigs({
  1. List<PatternItem>? patterns,
  2. int? width,
  3. Color? color,
})

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;
}