toNameValuePair

fun <Error class: unknown class><String?, String?>.toNameValuePair(): NameValuePair

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