dave08
private fun kwargs(vararg args: Pair<String, Any?>): Map<String, Any> = args.filter { it.second != null }.toMap()
toMap
Map<String, Any?>