copyWith method
Implementation
IndividualName copyWith({String? firstName, String? lastName}) {
return IndividualName(
firstName: firstName ?? this.firstName,
lastName: lastName ?? this.lastName);
}
IndividualName copyWith({String? firstName, String? lastName}) {
return IndividualName(
firstName: firstName ?? this.firstName,
lastName: lastName ?? this.lastName);
}