copyWith method
Implementation
RiskResult copyWith({
String? category,
String? title,
String? description,
String? suggestion,
RiskLevel? level,
String? file,
int? line,
DateTime? timestamp,
}) =>
RiskResult(
category: category ?? this.category,
title: title ?? this.title,
description: description ?? this.description,
suggestion: suggestion ?? this.suggestion,
level: level ?? this.level,
file: file ?? this.file,
line: line ?? this.line,
timestamp: timestamp ?? this.timestamp,
);