video.dart 604 Bytes
import 'dart:io';

Socket? socket;
var videoList = [
  'video_01.mp4',
  'video_02.mp4',
  'video_03.mp4',
];

class UserVideo {
  final int id;
  final String url;
  final String image;
  final String? desc;
  final String poemId;
  final String poemType;
  final bool isPraise;
  final bool isCollect;

  UserVideo({
    required this.id,
    required this.url,
    required this.image,
    this.desc,
    required this.poemId,
    required this.poemType,
    required this.isPraise,
    required this.isCollect,
  });

  @override
  String toString() {
    return 'image:$image' '\nvideo:$url';
  }
}