fromPath method

  1. @override
Future<AudioSource?> fromPath(
  1. String filePath
)
override

filePath - path of the file to be loaded

Implementation

@override
Future<AudioSource?> fromPath(String filePath) async{
  return await SoLoud.instance.loadFile(filePath);
}