option

abstract fun option(name: String, value: String)

Adds an option with name and value.


abstract fun option(name: String)

Adds an option with name only.


abstract fun option(name: Any, value: Any)

Deprecated

This function with Any parameters is scheduled for removal in Kotlin 2.2. Consider migrating to the function with String parameters.

Replace with

option(name.toString(), value.toString())

Adds an option with name and value.

Expected name and value type is String.


abstract fun option(name: Any)

Deprecated

This function with Any parameter is scheduled for removal in Kotlin 2.2. Consider migrating to the function with String parameter.

Replace with

option

Adds an option with name only.

Expected name type is String.