Video
copyWith(- {String? id,
- String? title,
- VideoType? type,
- String? topicId,
- String? publishedAt,
- String? availableAt,
- int? duration,
- VideoStatus? status,
- String? startScheduled,
- String? startActual,
- String? endActual,
- int? liveViewers,
- String? description,
- int? songcount,
- String? channelId,
- ChannelMin? channel,
- String? language}
)
Implementation
Video copyWith({
String? id,
String? title,
VideoType? type,
String? topicId,
String? publishedAt,
String? availableAt,
int? duration,
VideoStatus? status,
String? startScheduled,
String? startActual,
String? endActual,
int? liveViewers,
String? description,
int? songcount,
String? channelId,
ChannelMin? channel,
String? language,
}) {
return Video(
id: id ?? this.id,
title: title ?? this.title,
type: type ?? this.type,
topicId: topicId ?? this.topicId,
publishedAt: publishedAt ?? this.publishedAt,
availableAt: availableAt ?? this.availableAt,
duration: duration ?? this.duration,
status: status ?? this.status,
startScheduled: startScheduled ?? this.startScheduled,
startActual: startActual ?? this.startActual,
endActual: endActual ?? this.endActual,
liveViewers: liveViewers ?? this.liveViewers,
description: description ?? this.description,
songcount: songcount ?? this.songcount,
channelId: channelId ?? this.channelId,
channel: channel ?? this.channel,
language: language ?? this.language,
);
}