| Index: lib/info.dart
|
| diff --git a/lib/info.dart b/lib/info.dart
|
| index d04b7966bd8e8c377856527e498eafdfd0a80054..27e1fe77a4cf40b1b6138a3116909f7b295d891a 100644
|
| --- a/lib/info.dart
|
| +++ b/lib/info.dart
|
| @@ -150,7 +150,9 @@ class AllInfo {
|
|
|
| AllInfo();
|
|
|
| - static AllInfo parseFromJson(Map map) => new _ParseHelper().parseAll(map);
|
| + // TODO(het): Remove this when we have an external InfoCodec, see
|
| + // https://github.com/dart-lang/dart2js_info/issues/4
|
| + factory AllInfo.fromJson(Map json) => new _ParseHelper().parseAll(json);
|
|
|
| Map _listAsJsonMap(List<Info> list) {
|
| var map = <String, Map>{};
|
|
|