copyWith method
ContentRestrictionUpdate
copyWith({
- ContentRestrictionUpdateOperation? operation,
- ContentRestrictionUpdateRestrictions? restrictions,
- Content? content,
Implementation
ContentRestrictionUpdate copyWith(
{ContentRestrictionUpdateOperation? operation,
ContentRestrictionUpdateRestrictions? restrictions,
Content? content}) {
return ContentRestrictionUpdate(
operation: operation ?? this.operation,
restrictions: restrictions ?? this.restrictions,
content: content ?? this.content,
);
}