toMap

fun Array<Param>.toMap(): Map<String, String>

Converts array of Param objects to Map

Receiver

Source array

Return

Array of params where Param.name is a key and Param.value is an entry value