copyWith method
ShopifySharpMetaField
copyWith(
{ - DateTime? createdAt,
- DateTime? updatedAt,
- String? key,
- dynamic value,
- String? type,
- String? namespace,
- String? description,
- int? ownerId,
- String? ownerResource,
- int? id,
- String? adminGraphqlApiId,
})
Implementation
ShopifySharpMetaField copyWith({
DateTime? createdAt,
DateTime? updatedAt,
String? key,
dynamic value,
String? type,
String? namespace,
String? description,
int? ownerId,
String? ownerResource,
int? id,
String? adminGraphqlApiId,
}) {
return ShopifySharpMetaField(
createdAt: createdAt ?? this.createdAt,
updatedAt: updatedAt ?? this.updatedAt,
key: key ?? this.key,
value: value ?? this.value,
type: type ?? this.type,
namespace: namespace ?? this.namespace,
description: description ?? this.description,
ownerId: ownerId ?? this.ownerId,
ownerResource: ownerResource ?? this.ownerResource,
id: id ?? this.id,
adminGraphqlApiId: adminGraphqlApiId ?? this.adminGraphqlApiId,
);
}