ManaCost constructor

const ManaCost({
  1. required String cost,
  2. required double cmc,
  3. required List<Color> colors,
  4. required bool colorless,
  5. required bool monocolored,
  6. required bool multicolored,
})

Constructs a ManaCost by setting its properties.

Implementation

const ManaCost({
  required this.cost,
  required this.cmc,
  required this.colors,
  required this.colorless,
  required this.monocolored,
  required this.multicolored,
});