copyWith method

Implementation

ContentRestrictions copyWith(
    {ContentRestriction? read,
    ContentRestriction? update,
    ContentRestrictionsExpandable? expandable,
    GenericLinks? links}) {
  return ContentRestrictions(
    read: read ?? this.read,
    update: update ?? this.update,
    expandable: expandable ?? this.expandable,
    links: links ?? this.links,
  );
}