spells property

Map<String, Spell> get spells

A mapping of all the spells. The key in each entry is a unique key to the spell, and the value is the spell itself.

Implementation

Map<String, Spell> get spells => getItem('Spells').cast<String, Spell>();