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?

The identifier.

Link copied to clipboard
val name: String?

The name.

Functions

Link copied to clipboard
fun NameIdPair.toPair(): ERROR CLASS: Symbol not found for Pair<kotlin/String?, kotlin/String?>

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