hashCode property

  1. @override
int get hashCode
override

Calculates the hash code for this PassioSearchNutritionPreview object.

Implementation

@override
int get hashCode {
  return calories.hashCode ^
      carbs.hashCode ^
      fat.hashCode ^
      protein.hashCode ^
      fiber.hashCode ^
      servingUnit.hashCode ^
      servingQuantity.hashCode ^
      weightUnit.hashCode ^
      weightQuantity.hashCode;
}