NameIdPair

data class NameIdPair(val name: String? = null, val id: String? = null)

Constructors

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

Properties

Link copied to clipboard
val id: String? = null

The identifier.

Link copied to clipboard
val name: String? = null

The name.

Functions

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

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