getAllAudio method
Retrieves paths of all audio files on device. Returns List< String> of absolute file paths. Example:
List<String> audioFiles = await MethodChannelMediaManager().getAllAudio();
Implementation
@override
Future<List<String>> getAllAudio() async {
final List<dynamic> result = await methodChannel.invokeMethod(
'getAllAudio',
);
return result.cast<String>();
}