```val readOnlyMap: Map<String, String> = Ha...
# codereview
d
Copy code
val readOnlyMap: Map<String, String> = HashMap<String, String>().apply {
        put("first", "john")
        put("last", "doe")
    }
Use
apply
rather than
with
here. 🙂
👍 1