UnitCard.unique constructor
UnitCard.unique({})
Creates a unique unit card with the given properties.
Errors
This class is not intended to be used with user-provided input, and as such does not provide any error handling. If any of the fields are invalid, an error will be thrown.
Implementation
UnitCard.unique({
required super.cardSet,
required super.orderInSet,
required super.name,
required String title,
required super.aspects,
required super.cost,
required super.traits,
required super.power,
required super.health,
super.arena = Arena.ground,
}) : super(title: title);