copyWith method Null safety
Implementation
VideoMetadata copyWith({
VideoFull? video,
List<Comment>? comments,
List<Video>? recommendations,
}) {
return VideoMetadata(
video: video ?? this.video,
comments: comments ?? this.comments,
recommendations: recommendations ?? this.recommendations,
);
}