operator == method
Compares two PassioFoodMetadata
objects for equality.
Implementation
@override
bool operator ==(Object other) {
if (identical(this, other)) return true;
if (other is! PassioFoodMetadata) return false;
return barcode == other.barcode &&
listEquals(foodOrigins, other.foodOrigins) &&
ingredientsDescription == other.ingredientsDescription &&
listEquals(tags, other.tags);
}