getAllAudioFromDevice method
Implementation
@override
Future<List<Audio>> getAllAudioFromDevice() async {
final String resultJson = await methodChannel.invokeMethod('getAllAudio');
final List<dynamic> audioListJson = jsonDecode(resultJson);
final List<Audio> audioList =
audioListJson.map((json) => Audio.fromJson(json)).toList();
return audioList;
}