copyWithWrapped method
Implementation
ShopifySharpCustomerEmailMarketingConsent copyWithWrapped({
Wrapped<String?>? state,
Wrapped<String?>? optInLevel,
Wrapped<DateTime?>? consentUpdatedAt,
}) {
return ShopifySharpCustomerEmailMarketingConsent(
state: (state != null ? state.value : this.state),
optInLevel: (optInLevel != null ? optInLevel.value : this.optInLevel),
consentUpdatedAt: (consentUpdatedAt != null
? consentUpdatedAt.value
: this.consentUpdatedAt),
);
}