FoodItem class

Constructors

FoodItem({String foodName, int price, String mealClass, int quantity, List<String> toppings})
FoodItem.fromMap(Map<String, dynamic> map)

Properties

foodName String
final
hashCode int
The hash code for this object. [...]
read-only, inherited
mealClass String
final
price int
final
quantity int
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
toppings List<String>
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited