Trait enum
Traits a card can have.
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.
Values
- armor → const Trait
-
Armor.
- capitalShip → const Trait
-
Capital ship.
- droid → const Trait
-
Droid.
- fighter → const Trait
-
Fighter.
- force → const Trait
-
Force.
- fringe → const Trait
-
Fringe.
- gambit → const Trait
-
Gambit.
- imperial → const Trait
-
Imperial.
- innate → const Trait
-
Innate.
- item → const Trait
-
Item.
- jedi → const Trait
-
Jedi.
- learned → const Trait
-
Learned.
- lightsaber → const Trait
-
Lightsaber.
- official → const Trait
-
Official.
- rebel → const Trait
-
Rebel.
- speeder → const Trait
-
Speeder.
- sith → const Trait
-
Sith.
- supply → const Trait
-
Supply.
- tactic → const Trait
-
Tactics.
- trick → const Trait
-
Trick.
- trooper → const Trait
-
Trooper.
- underworld → const Trait
-
Underworld.
- vehicle → const Trait
-
Vehicle.
- walker → const Trait
-
Walker.
- weapon → const Trait
-
Weapon.
- wookiee → const Trait
-
Wookiee.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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