getAudioRoutes method
Get audio routes
Implementation
@override
Future<List<AudioRouteData>?> getAudioRoutes() async {
final audioRoutes = await callClientMethodChannel
.invokeMethod<List<Object?>?>('getAudioRoutes');
log("ExolvePlugin: callClientChannel: getAudioRoutes: audioRoutes = $audioRoutes");
return audioRoutes
?.map((audioRoute) => AudioRouteData.fromMap(audioRoute as Map<Object?, Object?>))
.toList();
}