From bbc46e752a0c3a508cef99daf73d3d94e5e05ba6 Mon Sep 17 00:00:00 2001 From: fbachus Date: Wed, 29 Jul 2026 18:42:59 +0200 Subject: [PATCH] chore(api_handler): follow recommended way for sting concat --- lib/api_handler.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/api_handler.dart b/lib/api_handler.dart index 4e9e5cd..323ac81 100644 --- a/lib/api_handler.dart +++ b/lib/api_handler.dart @@ -125,7 +125,7 @@ class ApiHandler { }) async { String urlPath = '/api/fahrinfo/latest/multiDepartureBoard'; String stationListString = stationList - .reduce((value, element) => value + '|' + element) + .reduce((value, element) => '$value|$element') .replaceAll(' ', '%20'); // reform for URL Uri url = Uri.https(baseUrl, urlPath, {