copyWith method
Implementation
NotificationRecipientsRestrictions copyWith(
{List<String>? groupIds,
List<GroupName>? groups,
List<RestrictedPermission>? permissions}) {
return NotificationRecipientsRestrictions(
groupIds: groupIds ?? this.groupIds,
groups: groups ?? this.groups,
permissions: permissions ?? this.permissions,
);
}