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