copyWith method

ApiGuardConfig copyWith({
  1. bool? generateBadge,
  2. Set<String>? include,
  3. Set<String>? exclude,
})

Implementation

ApiGuardConfig copyWith({
  bool? generateBadge,
  Set<String>? include,
  Set<String>? exclude,
}) {
  return ApiGuardConfig(
    include: include ?? this.include,
    exclude: exclude ?? this.exclude,
    generateBadge: generateBadge ?? this.generateBadge,
  );
}