VideoInfo.fromJson constructor
Implementation
factory VideoInfo.fromJson(Map<String, dynamic> json) => new VideoInfo(
aspectRatio: json["aspect_ratio"] == null
? []
: new List<int>.from(json["aspect_ratio"].map((x) => x)),
durationMillis:
json["duration_millis"] == null ? null : json["duration_millis"],
variants: json["variants"] == null
? []
: new List<Variant>.from(
json["variants"].map((x) => Variant.fromJson(x))),
);