Country

data class Country(val code: String, val phoneNoCode: String, val name: String, val flag: Int)

Country is a data class that holds the data of a country.

Parameters

code

The code of the country.

phoneNoCode

The phone number code of the country.

name

The name of the country.

flag

The flag of the country.

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard
val flag: Int
Link copied to clipboard
Link copied to clipboard