copyWith method

EditUserStarSubscription copyWith({
  1. int? userId,
  2. String? telegramPaymentChargeId,
  3. bool? isCanceled,
})

Implementation

EditUserStarSubscription copyWith({
  int? userId,
  String? telegramPaymentChargeId,
  bool? isCanceled,
}) =>
    EditUserStarSubscription(
      userId: userId ?? this.userId,
      telegramPaymentChargeId:
          telegramPaymentChargeId ?? this.telegramPaymentChargeId,
      isCanceled: isCanceled ?? this.isCanceled,
    );