getOrDefault

open fun getOrDefault(key: String, defaultValue: Any): Any

Gets the raw argument with the specified key or the defaultValue if no such argument is present

Parameters

key

The key of the argument

defaultValue

The default value