copyWith method

CanPurchasePremium copyWith({
  1. StorePaymentPurpose? purpose,
})

Implementation

CanPurchasePremium copyWith({
  StorePaymentPurpose? purpose,
}) =>
    CanPurchasePremium(
      purpose: purpose ?? this.purpose,
    );