copyWith method

CreateChatSubscriptionInviteLink copyWith({
  1. int? chatId,
  2. String? name,
  3. StarSubscriptionPricing? subscriptionPricing,
})

Implementation

CreateChatSubscriptionInviteLink copyWith({
  int? chatId,
  String? name,
  StarSubscriptionPricing? subscriptionPricing,
}) => CreateChatSubscriptionInviteLink(
  chatId: chatId ?? this.chatId,
  name: name ?? this.name,
  subscriptionPricing: subscriptionPricing ?? this.subscriptionPricing,
);