VideoSourceFormatVideo.fromJson constructor

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

Implementation

VideoSourceFormatVideo.fromJson(Map<String, dynamic> json) {
  name = json["name"]?.toString();
  if (json["list"] != null) {
    final v = json["list"];
    final arr0 = <VideoSourceFormatVideoList>[];
    v.forEach((v) {
      arr0.add(VideoSourceFormatVideoList.fromJson(v));
    });
    list = arr0;
  }
}