Dessert class

Constructors

Dessert(String name, int calories, double fat, int carbs, double protein, int sodium, int calcium, int iron)

Properties

calcium int
final
calories int
final
carbs int
final
fat double
final
hashCode int
The hash code for this object.
no setterinherited
iron int
final
name String
final
protein double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selected bool
getter/setter pair
sodium int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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