TTMasterPlaylist.fromJson constructor
Implementation
factory TTMasterPlaylist.fromJson(Map<String, dynamic> json) => TTMasterPlaylist(
renditions: json["renditions"] == null
? []
: List<TTMasterRendition>.from(json["renditions"]!.map((x) => TTMasterRendition.fromJson(x))),
variantStreams: json["variantStreams"] == null
? []
: List<TTMasterVariantStream>.from(json["variantStreams"]!.map((x) => TTMasterVariantStream.fromJson(x))),
);