getSoundSprite method Null safety

SoundSprite getSoundSprite(
  1. String name
)

Implementation

SoundSprite getSoundSprite(String name) =>
    _getResourceValue('SoundSprite', name) as SoundSprite;