addSoundSprite method Null safety

void addSoundSprite(
  1. String name,
  2. String url,
  3. [SoundLoadOptions? options]
)

Implementation

void addSoundSprite(String name, String url, [SoundLoadOptions? options]) {
  final loader = SoundSprite.load(url, options);
  _addResource('SoundSprite', name, url, loader);
}