VideoRenditionList.fromMap constructor
Implementation
factory VideoRenditionList.fromMap(
Map<String, dynamic> map,
) {
map = {
'total': 0,
'renditions': [],
...map,
};
return VideoRenditionList(
total: map['total'],
renditions: List<VideoRendition>.from(
map['renditions'].map((p) => VideoRendition.fromMap(p)),
),
);
}