Roast enum

Roast level of a coffee bean. Can be one of the following:

  1. veryLight
  2. light
  3. lightMedium
  4. medium
  5. darkMedium
  6. dark
  7. veryDark
Inheritance

Constructors

Roast()
const

Values

veryLight → const Roast

a very light roast

light → const Roast

a light roast

lightMedium → const Roast

a light-medium roast

medium → const Roast

a medium roast

darkMedium → const Roast

a dark-medium roast

dark → const Roast

a dark roast

veryDark → const Roast

a very-dark roast

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

values → const List<Roast>
A constant List of the values in this enum, in order of their declaration.