VideoData.fromMap constructor

VideoData.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory VideoData.fromMap(Map<String, dynamic> map) {
  return VideoData(
    url: map['url'],
    quality: map['quality'],
    format: map['format'],
    audioUrl: map['audioUrl'],
    isLive: map['isLive'],
  );
}