Bump Dart SDK to 1.22.0-dev.10.3 (#7791)
This commit is contained in:
committed by
GitHub
parent
50125ab271
commit
40aab7f553
@@ -76,7 +76,7 @@ class StockDataFetcher {
|
||||
String json = response.body;
|
||||
if (json == null) {
|
||||
print("Failed to load stock data chunk ${_nextChunk - 1}");
|
||||
return;
|
||||
return null;
|
||||
}
|
||||
JsonDecoder decoder = new JsonDecoder();
|
||||
callback(new StockData(decoder.convert(json)));
|
||||
|
||||
Reference in New Issue
Block a user