adding a object to a list kotlin code example
Example: kotlin list add
// Use mutable list
var mutableList1 = mutableListOf("Garlic","Oignon")
mutableList1.add("Bean")
// Use mutable list
var mutableList1 = mutableListOf("Garlic","Oignon")
mutableList1.add("Bean")