copyWith method

Issue copyWith({
  1. String? severity,
  2. String? code,
  3. String? diagnostics,
})

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,
    );