copyWith method

ShopifySharpMetaField copyWith({
  1. DateTime? createdAt,
  2. DateTime? updatedAt,
  3. String? key,
  4. dynamic value,
  5. String? type,
  6. String? namespace,
  7. String? description,
  8. int? ownerId,
  9. String? ownerResource,
  10. int? id,
  11. 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,
  );
}