copyWith method

  1. @override
AuthorizationStateWaitPremiumPurchase copyWith({
  1. String? storeProductId,
  2. int? premiumDayCount,
  3. String? supportEmailAddress,
  4. String? supportEmailSubject,
  5. dynamic extra,
  6. int? clientId,
})
override

Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.

Implementation

@override
AuthorizationStateWaitPremiumPurchase copyWith({
  String? storeProductId,
  int? premiumDayCount,
  String? supportEmailAddress,
  String? supportEmailSubject,
  dynamic extra,
  int? clientId,
}) => AuthorizationStateWaitPremiumPurchase(
  storeProductId: storeProductId ?? this.storeProductId,
  premiumDayCount: premiumDayCount ?? this.premiumDayCount,
  supportEmailAddress: supportEmailAddress ?? this.supportEmailAddress,
  supportEmailSubject: supportEmailSubject ?? this.supportEmailSubject,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);