CAKE-356 | fixed yat_record.dart

This commit is contained in:
OleksandrSobol
2021-09-16 13:21:54 +03:00
parent cdddc12c81
commit 2cf827d946
+1 -1
View File
@@ -15,7 +15,7 @@ Future<String> fetchYatAddress(String emojiId, String ticker) async {
final responseJSON = json.decode(response.body) as Map<String, dynamic>;
final result = responseJSON['result'] as List<dynamic>;
if (result == null || result.isEmpty) {
if (result?.isEmpty ?? true) {
return '';
}