Animal enum

Referencing processMessage (or other things) here should not break enum constants ala #1445

Constants

CAT → const Animal

Single line docs.

const Animal(0)
DOG → const Animal

Multi line docs.

Dog needs lots of docs.

const Animal(1)
HORSE → const Animal
const Animal(2)
values → const List<Animal>

A constant List of the values in this enum, in order of their declaration.

const List<Animal>

Properties

index → int

The integer index of this enum.

final
hashCode → int
read-only, inherited
runtimeType → Type
read-only, inherited

Methods

toString() → String
override
noSuchMethod(Invocation invocation) → dynamic
inherited

Operators

operator ==(dynamic other) → bool
inherited