copyWith method
Makes a deep copy of this Issue.
Implementation
Issue copyWith({
String? severity,
String? code,
String? diagnostics,
}) =>
Issue(
severity: severity ?? this.severity,
code: code ?? this.code,
diagnostics: diagnostics ?? this.diagnostics,
);