Bean constructor
const
Bean({})
The bean carries all the attributes of the bean from it's roast to it's origin.
Example:
var myFavoriteBean = const Bean(
roaster: 'Patriot Coffee Roaster',
name: 'Ethiopia Nano Challa',
roast: Roast.lightMedium,
countries: [Country.ET],
altitude: Altitude(lower: 1900, upper: 2200),
process: Process.washed,
notes: ['Red Grape', 'Pineapple', 'Elderflower'],
);
Implementation
const Bean({
required this.roaster,
required this.name,
required this.roast,
this.type = PlantType.arabica,
this.continent,
this.countries,
this.altitude,
this.process,
this.notes,
});