loadSoundFile method

Future<LoadedSound> loadSoundFile(
  1. String filePath
)

Loads a file and creates a LoadedSound from it.

Implementation

Future<LoadedSound> loadSoundFile(String filePath) async =>
    loadSound(await File(filePath).readAsBytes());