V2TimImageElem.fromJson constructor
V2TimImageElem.fromJson(
- Map json
Implementation
V2TimImageElem.fromJson(Map json) {
json = Utils.formatJson(json);
path = json['path'];
if (json['imageList'] != null) {
imageList = List.empty(growable: true);
json['imageList'].forEach((v) {
imageList!.add(V2TimImage.fromJson(v));
});
}
if (json['nextElem'] != null) {
nextElem = Utils.formatJson(json['nextElem']);
}
}