video.dart
462 Bytes
import 'dart:io';
Socket? socket;
var videoList = [
'video_01.mp4',
'video_02.mp4',
'video_03.mp4',
];
class UserVideo {
final String url;
final String image;
final String? desc;
final String poemId;
final String poemType;
UserVideo({
required this.url,
required this.image,
this.desc,
required this.poemId,
required this.poemType,
});
@override
String toString() {
return 'image:$image' '\nvideo:$url';
}
}