addSoundSprite method

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

Implementation

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