copyWith method

PremiumFeatures copyWith({
  1. List<PremiumFeature>? features,
  2. List<PremiumLimit>? limits,
  3. InternalLinkType? paymentLink,
})

Implementation

PremiumFeatures copyWith({
  List<PremiumFeature>? features,
  List<PremiumLimit>? limits,
  InternalLinkType? paymentLink,
}) => PremiumFeatures(
  features: features ?? this.features,
  limits: limits ?? this.limits,
  paymentLink: paymentLink ?? this.paymentLink,
);