copyWith method
Implementation
SourceLine copyWith({
String? element,
String? text,
File? file,
int? line,
int? startChar,
int? endChar,
int? indent,
}) {
return SourceLine(
text ?? this.text,
element: element ?? this.element,
file: file ?? this.file,
line: line ?? this.line,
startChar: startChar ?? this.startChar,
endChar: endChar ?? this.endChar,
indent: indent ?? this.indent,
);
}