copyWith method

FoundUsersAndGroups copyWith({
  1. FoundGroups? groups,
  2. FoundUsers? users,
})

Implementation

FoundUsersAndGroups copyWith({FoundGroups? groups, FoundUsers? users}) {
  return FoundUsersAndGroups(
    groups: groups ?? this.groups,
    users: users ?? this.users,
  );
}