copyWithWrapped method
ShopifySharpMetaField
copyWithWrapped(
{ - Wrapped<DateTime?>? createdAt,
- Wrapped<DateTime?>? updatedAt,
- Wrapped<String?>? key,
- Wrapped? value,
- Wrapped<String?>? type,
- Wrapped<String?>? namespace,
- Wrapped<String?>? description,
- Wrapped<int?>? ownerId,
- Wrapped<String?>? ownerResource,
- Wrapped<int?>? id,
- Wrapped<String?>? adminGraphqlApiId,
})
Implementation
ShopifySharpMetaField copyWithWrapped({
Wrapped<DateTime?>? createdAt,
Wrapped<DateTime?>? updatedAt,
Wrapped<String?>? key,
Wrapped<dynamic>? value,
Wrapped<String?>? type,
Wrapped<String?>? namespace,
Wrapped<String?>? description,
Wrapped<int?>? ownerId,
Wrapped<String?>? ownerResource,
Wrapped<int?>? id,
Wrapped<String?>? adminGraphqlApiId,
}) {
return ShopifySharpMetaField(
createdAt: (createdAt != null ? createdAt.value : this.createdAt),
updatedAt: (updatedAt != null ? updatedAt.value : this.updatedAt),
key: (key != null ? key.value : this.key),
value: (value != null ? value.value : this.value),
type: (type != null ? type.value : this.type),
namespace: (namespace != null ? namespace.value : this.namespace),
description: (description != null ? description.value : this.description),
ownerId: (ownerId != null ? ownerId.value : this.ownerId),
ownerResource: (ownerResource != null
? ownerResource.value
: this.ownerResource),
id: (id != null ? id.value : this.id),
adminGraphqlApiId: (adminGraphqlApiId != null
? adminGraphqlApiId.value
: this.adminGraphqlApiId),
);
}