From 82d258f74a6428b501600c14afa233bbbe5654ad Mon Sep 17 00:00:00 2001 From: JMARyA Date: Wed, 25 Sep 2024 23:01:02 +0200 Subject: [PATCH] fix --- lib/api.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/api.dart b/lib/api.dart index a91b188..5595117 100644 --- a/lib/api.dart +++ b/lib/api.dart @@ -255,7 +255,7 @@ class API { {"produced": produced?.map((x) => x.json()).toList()})); if (produced != null) { - return resp["produced"] as List; + return (resp["produced"] as List).cast(); } return null;