copyWith method
Creates a copy of this indent guide but with the given fields replaced with the new values.
Implementation
ScopingLinesGuide copyWith({
double? indent,
Color? color,
double? thickness,
double? origin,
}) {
return ScopingLinesGuide(
indent: indent ?? this.indent,
color: color ?? this.color,
thickness: thickness ?? this.thickness,
origin: origin ?? this.origin,
);
}