Chromium Code Reviews| Index: lib/info.dart |
| diff --git a/lib/info.dart b/lib/info.dart |
| index d04b7966bd8e8c377856527e498eafdfd0a80054..d43f7210e1a4fb027884b5a26481018e8e8953ca 100644 |
| --- a/lib/info.dart |
| +++ b/lib/info.dart |
| @@ -150,7 +150,7 @@ class AllInfo { |
| AllInfo(); |
| - static AllInfo parseFromJson(Map map) => new _ParseHelper().parseAll(map); |
| + factory AllInfo.fromJson(Map json) => new _ParseHelper().parseAll(json); |
|
Siggi Cherem (dart-lang)
2015/10/14 23:37:02
since this is a breaking change, we might need to
Harry Terkelsen
2015/10/15 00:13:55
I added a TODO for this. Let's go with 0.2.0-dev a
|
| Map _listAsJsonMap(List<Info> list) { |
| var map = <String, Map>{}; |