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;