Skip to content

Instantly share code, notes, and snippets.

@5AbhishekSaxena
Created June 5, 2023 09:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 5AbhishekSaxena/f8e04dd5a395315190130e038caa74a1 to your computer and use it in GitHub Desktop.
Save 5AbhishekSaxena/f8e04dd5a395315190130e038caa74a1 to your computer and use it in GitHub Desktop.
fun main() {
val contact = getContact()
val userBuilder = User.Builder()
userBuilder.setFirstName("Abhishek")
userBuilder.setLastName("Saxena")
userBuilder.setContact(contact)
val user = userBuilder.build() // <- user object is built here
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment