toNameIdPair

fun <Error class: unknown class><String?, String?>.toNameIdPair(): NameIdPair

Convert a Pair to a NameIdPair with Pair.first as NameIdPair.id and Pair.second as NameIdPair.name.