copyWith method
VideoOptions
copyWith(
{ - Set<VideoPart>? parts,
- int? maxResults,
- String? onBehalfOfContentOwner,
- String? pageToken,
- String? regionCode,
- Chart? chart,
- List<String>? id,
- MyRating? myRating,
- String? hl,
- int? maxHeight,
- String? maxWidth,
})
Implementation
VideoOptions copyWith({
Set<VideoPart>? parts,
int? maxResults,
String? onBehalfOfContentOwner,
String? pageToken,
String? regionCode,
Chart? chart,
List<String>? id,
MyRating? myRating,
String? hl,
int? maxHeight,
String? maxWidth,
}) =>
VideoOptions(
parts: parts ?? this.parts,
maxResults: maxResults ?? this.maxResults,
onBehalfOfContentOwner:
onBehalfOfContentOwner ?? this.onBehalfOfContentOwner,
pageToken: pageToken ?? this.pageToken,
regionCode: regionCode ?? this.regionCode,
chart: chart ?? this.chart,
id: id ?? this.id,
myRating: myRating ?? this.myRating,
hl: hl ?? this.hl,
maxHeight: maxHeight ?? this.maxHeight,
maxWidth: maxWidth ?? this.maxWidth,
);