Kotlin offers named parameters. For named parameters, the order of the parameters does not matter. Instead, each parameter's value is associated with its name in the list of parameter values that you pass.

You can learn more about this in:
Run Edit