Meal class
Models a meal containing information about its metadata.
Constructors
Properties
- category → String
-
The meal's category.
final
- employeePrice → double?
-
The meal's price for employees.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
The meal's internal ID.
final
- name → String
-
The meal's name.
final
-
notes
→ List<
String> -
The meal's notes. Usually saves useful
information for vegetarians et al.
final
- othersPrice → double?
-
The meal's price for others.
final
-
props
→ List<
Object> -
The day's properties.
See
Equatable.props
for more information.no setter - pupilPrice → double?
-
The meal's price for pupils.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool
-
The day should get an automatically generated
toString method, based on props.
See
Equatable.stringify
for more information.no setter - studentPrice → double?
-
The meal's price for students.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited