mirror of
https://github.com/flutter/samples.git
synced 2025-11-09 06:18:49 +00:00
web/github_dataviz: Migrate to null safety (#919)
This commit is contained in:
@@ -8,7 +8,7 @@ class ContributionData {
|
||||
|
||||
static ContributionData fromJson(Map<String, dynamic> jsonMap) {
|
||||
ContributionData data = ContributionData(
|
||||
jsonMap["w"], jsonMap["a"], jsonMap["d"], jsonMap["c"]);
|
||||
jsonMap['w'], jsonMap['a'], jsonMap['d'], jsonMap['c']);
|
||||
return data;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user