copyWith method
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
@override
InternalLinkTypeStarPurchase copyWith({
int? starCount,
String? purpose,
dynamic extra,
int? clientId,
}) => InternalLinkTypeStarPurchase(
starCount: starCount ?? this.starCount,
purpose: purpose ?? this.purpose,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);