copyWith method
AuthorizationStateWaitPremiumPurchase
copyWith({
- String? storeProductId,
- String? supportEmailAddress,
- String? supportEmailSubject,
- dynamic extra,
- 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,
);