Skip to content

Instantly share code, notes, and snippets.

@Adnan9011
Created May 23, 2022 02:32
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 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("BobRas@gmail.com") //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