Skip to content

Instantly share code, notes, and snippets.

@Adnan9011
Created May 23, 2022 02:32
Show Gist options
  • Save Adnan9011/d621f09e2e850e6f9697d317c89efeb0 to your computer and use it in GitHub Desktop.
Save Adnan9011/d621f09e2e850e6f9697d317c89efeb0 to your computer and use it in GitHub Desktop.
val firstPerson = Person.Builder(
name = "Bob", //Necessary
family = "Ras") //Necessary
.age(32) //Optional
.email("[email protected]") //Optional
.phoneNumber("+19094XXX") //Optional
.nationalCode("09640XXXXX") //Optional
.create() //Create
val secondPerson = Person.Builder(
name = "Alis", //Necessary
family = "Jackson") //Necessary
.create() //Create
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment