NameValuePair

data class NameValuePair(val name: String? = null, val value: String? = null)

Constructors

Link copied to clipboard
constructor(name: String? = null, value: String? = null)

Properties

Link copied to clipboard
val name: String? = null

The name.

Link copied to clipboard
val value: String? = null

The value.

Functions

Link copied to clipboard
fun NameValuePair.toPair(): <Error class: unknown class><String?, String?>

Convert a NameValuePair to a Pair with NameValuePair.name as Pair.first and NameValuePair.value as Pair.second.