video.dart 305 B

123456789101112131415
  1. class Video {
  2. String videoUrl;
  3. Video({this.videoUrl});
  4. Video.fromJson(Map<String, dynamic> json) {
  5. videoUrl = json['videoUrl'];
  6. }
  7. Map<String, dynamic> toJson() {
  8. final Map<String, dynamic> data = new Map<String, dynamic>();
  9. data['videoUrl'] = this.videoUrl;
  10. return data;
  11. }
  12. }