copyWith method
ChannelOptions
copyWith(
{ - Set<ChannelPart>? parts,
- int? maxResults,
- String? onBehalfOfContentOwner,
- String? pageToken,
- String? regionCode,
- List<String>? id,
- String? hl,
- String? forUsername,
- bool? managedByMe,
- bool? mine,
})
Implementation
ChannelOptions copyWith({
Set<ChannelPart>? parts,
int? maxResults,
String? onBehalfOfContentOwner,
String? pageToken,
String? regionCode,
List<String>? id,
String? hl,
String? forUsername,
bool? managedByMe,
bool? mine,
}) =>
ChannelOptions(
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,
forUsername: forUsername ?? this.forUsername,
managedByMe: managedByMe ?? this.managedByMe,
mine: mine ?? this.mine,
);