VideoSourceFormat.fromJson constructor

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

Implementation

VideoSourceFormat.fromJson(Map<String, dynamic> json) {
  if (json["video"] != null) {
    final v = json["video"];
    final arr0 = <VideoSourceFormatVideo>[];
    v.forEach((v) {
      arr0.add(VideoSourceFormatVideo.fromJson(v));
    });
    video = arr0;
  }
}