Country

class Country(val code: String, val name: String)

Country information.

Throws

Constructors

Link copied to clipboard
constructor(code: String, name: String)

Properties

Link copied to clipboard

ISO 3166-1 alpha-3 code of the country.

Link copied to clipboard

Country name in the official language of the country.

Functions

Link copied to clipboard
operator fun component1(): String
Link copied to clipboard
operator fun component2(): String
Link copied to clipboard
fun copy(code: String = this.code, name: String = this.name): Country
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String