loadSoundFile method
Loads a file and creates a LoadedSound
from it.
Implementation
Future<LoadedSound> loadSoundFile(String filePath) async =>
loadSound(await File(filePath).readAsBytes());
Loads a file and creates a LoadedSound
from it.
Future<LoadedSound> loadSoundFile(String filePath) async =>
loadSound(await File(filePath).readAsBytes());