copyWith method
Creates a copy of this object with the given fields replaced with the new values.
Implementation
IgnoredLeaksSet copyWith({Map<String, int?>? byClass, bool? ignoreAll}) {
return IgnoredLeaksSet(
ignoreAll: ignoreAll ?? this.ignoreAll,
byClass: byClass ?? this.byClass,
);
}