copyWith method

IgnoredLeaksSet copyWith({
  1. Map<String, int?>? byClass,
  2. bool? ignoreAll,
})

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