copyWith method

CheckSubscriptionData copyWith({
  1. dynamic subscriptionType,
  2. String? productId,
  3. String? expiryDate,
  4. String? purchasedDate,
  5. bool? isActive,
  6. bool? isCancelled,
})

Implementation

CheckSubscriptionData copyWith({
  dynamic subscriptionType,
  String? productId,
  String? expiryDate,
  String? purchasedDate,
  bool? isActive,
  bool? isCancelled,
}) => CheckSubscriptionData(  subscriptionType: subscriptionType ?? _subscriptionType,
  productId: productId ?? _productId,
  expiryDate: expiryDate ?? _expiryDate,
  purchasedDate: purchasedDate ?? _purchasedDate,
  isActive: isActive ?? _isActive,
  isCancelled: isCancelled ?? _isCancelled,
);