Fullname
to a instance of User
without needing to add the method to the User
method.Use class extensions to add additional logic to a class without modifying the class itself.
Fullname
to a instance of User
without needing to add the method to the User
method.