copyWith method
ContentRestrictionRestrictions
copyWith({
- UserArray? user,
- GroupArray? group,
- ContentRestrictionRestrictionsExpandable? expandable,
Implementation
ContentRestrictionRestrictions copyWith(
{UserArray? user,
GroupArray? group,
ContentRestrictionRestrictionsExpandable? expandable}) {
return ContentRestrictionRestrictions(
user: user ?? this.user,
group: group ?? this.group,
expandable: expandable ?? this.expandable,
);
}