V2TimImageElem.fromJson constructor

V2TimImageElem.fromJson(
  1. Map<String, dynamic> json
)

Implementation

V2TimImageElem.fromJson(Map<String, dynamic> 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 = Map<String, dynamic>.from(json['nextElem']);
  }
}