copyWith method
PlaylistOptions
copyWith(
{ - Set<PlaylistPart>? parts,
- int? maxResults,
- String? onBehalfOfContentOwner,
- String? pageToken,
- String? regionCode,
- List<String>? id,
- String? hl,
- String? forUsername,
- bool? managedByMe,
- bool? mine,
})
Implementation
PlaylistOptions copyWith({
Set<PlaylistPart>? parts,
int? maxResults,
String? onBehalfOfContentOwner,
String? pageToken,
String? regionCode,
List<String>? id,
String? hl,
String? forUsername,
bool? managedByMe,
bool? mine,
}) =>
PlaylistOptions(
parts: parts ?? this.parts,
maxResults: maxResults ?? this.maxResults,
onBehalfOfContentOwner:
onBehalfOfContentOwner ?? this.onBehalfOfContentOwner,
pageToken: pageToken ?? this.pageToken,
regionCode: regionCode ?? this.regionCode,
id: id ?? this.id,
hl: hl ?? this.hl,
);