addSound method

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

Implementation

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