copyWith method
Implementation
ShopifySharpCustomerSmsMarketingConsent copyWith({
String? state,
String? optInLevel,
DateTime? consentUpdatedAt,
String? consentCollectedFrom,
}) {
return ShopifySharpCustomerSmsMarketingConsent(
state: state ?? this.state,
optInLevel: optInLevel ?? this.optInLevel,
consentUpdatedAt: consentUpdatedAt ?? this.consentUpdatedAt,
consentCollectedFrom: consentCollectedFrom ?? this.consentCollectedFrom,
);
}