copyWith method

Implementation

ContentRestriction copyWith(
    {ContentRestrictionOperation? operation,
    ContentRestrictionRestrictions? restrictions,
    Content? content,
    ContentRestrictionExpandable? expandable,
    GenericLinks? links}) {
  return ContentRestriction(
    operation: operation ?? this.operation,
    restrictions: restrictions ?? this.restrictions,
    content: content ?? this.content,
    expandable: expandable ?? this.expandable,
    links: links ?? this.links,
  );
}