copyWith method

DiagramBorder copyWith({
  1. DiagramColor? color,
  2. double? width,
  3. DiagramBorderStyle? style,
})

Implementation

DiagramBorder copyWith({
  DiagramColor? color,
  double? width,
  DiagramBorderStyle? style,
}) => DiagramBorder(
  color: color ?? this.color,
  width: width ?? this.width,
  style: style ?? this.style,
);