Constants

CAT Animal

Single line docs.

const Animal(0)
DOG Animal

Multi line docs.

Dog needs lots of docs.

const Animal(1)
HORSE Animal
const Animal(2)
values → 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

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

Operators

operator ==(other) → bool
inherited