Recipe class

One recipe: ingredients (item id to count) make count of result at station ('' by hand). Shapeless: only the counts matter.

Constructors

Recipe(String result, int count, Map<String, int> ingredients, {String station = ''})
A recipe.
const

Properties

count → int
How many are made.
final
hashCode → int
The hash code for this object.
no setterinherited
ingredients → Map<String, int>
What is used up.
final
result → String
The item made.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
station → String
Where it is made; '' in the hand.
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