Video constructor Null safety
- {required String id,
- required String title,
- required VideoType type,
- String? topicId,
- String? publishedAt,
- required String availableAt,
- required int? duration,
- required VideoStatus status,
- String? startScheduled,
- String? startActual,
- String? endActual,
- int? liveViewers,
- String? description,
- int? songcount,
- String? channelId,
- ChannelMin? channel,
- String? language}
Returns a new Video instance.
Implementation
Video({
required this.id,
required this.title,
required this.type,
this.topicId,
this.publishedAt,
required this.availableAt,
required this.duration,
required this.status,
this.startScheduled,
this.startActual,
this.endActual,
this.liveViewers,
this.description,
this.songcount,
this.channelId,
this.channel,
this.language,
});