copyWith method
ChatInviteLinkSubscriptionInfo
copyWith({
- StarSubscriptionPricing? pricing,
- bool? canReuse,
- int? formId,
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
ChatInviteLinkSubscriptionInfo copyWith({
StarSubscriptionPricing? pricing,
bool? canReuse,
int? formId,
}) => ChatInviteLinkSubscriptionInfo(
pricing: pricing ?? this.pricing,
canReuse: canReuse ?? this.canReuse,
formId: formId ?? this.formId,
);