sprites property
Returns the sprites map.
If you want to change the contents of the map use the sprites setter and pass in a new map of sprites, or use updateSprite to update a specific sprite.
Implementation
Map<T, Sprite>? get sprites =>
_sprites != null ? Map.unmodifiable(_sprites!) : null;