From fd0070411da2717bf403b1c65722d1014fc25571 Mon Sep 17 00:00:00 2001 From: julian Date: Sun, 2 Oct 2022 18:49:12 -0600 Subject: [PATCH] Currency parse fix --- lib/models/exchange/response_objects/currency.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/models/exchange/response_objects/currency.dart b/lib/models/exchange/response_objects/currency.dart index c1bb33976..0850f9a38 100644 --- a/lib/models/exchange/response_objects/currency.dart +++ b/lib/models/exchange/response_objects/currency.dart @@ -52,7 +52,7 @@ class Currency { return Currency( ticker: json["ticker"] as String, name: json["name"] as String, - network: json["network"] as String, + network: json["network"] as String? ?? "", image: json["image"] as String, hasExternalId: json["hasExternalId"] as bool, externalId: json["externalId"] as String?,