copyWith method
Implementation
CreditCategory copyWith({String? primary, String? detailed}) {
return CreditCategory(
primary: primary ?? this.primary, detailed: detailed ?? this.detailed);
}
CreditCategory copyWith({String? primary, String? detailed}) {
return CreditCategory(
primary: primary ?? this.primary, detailed: detailed ?? this.detailed);
}