Using .tupled method when companion object is in class June 5, 2023 by Tarik You can also write (Person.apply _).tupled to avoid repeating the types.