Arena enum

An arena in which UnitCards are played.

values is always in alphabetical order (using EnumName.name).

NOTE: As a result, the index of values in the enum are unstable and may change between package versions without a breaking change version bump. To persist, store name instead and use parse or tryParse to retrieve the enum value.

Inheritance

Constructors

Arena()
const
Arena.parse(String name)
Given a name, returns the corresponding Arena value.
factory

Values

ground → const Arena

The ground arena.

space → const Arena

The space arena.

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
toDebugString() String
Returns a string representation of this object, suitable for debugging.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

tryParse(String name) Arena?
Given a name, returns the corresponding Arena value.

Constants

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