# MyContact

data class MyContact(name: String, phoneNumber: String)
Content copied to clipboard

Class represent phone contact with its parameters.

## Parameters

name

Name of phone contact.

phoneNumber

Contact phone number.

## Constructors

MyContact
Link copied to clipboard
fun MyContact(name: String, phoneNumber: String)
Content copied to clipboard

## Properties

name
Link copied to clipboard
val name: String
Content copied to clipboard
phoneNumber
Link copied to clipboard
val phoneNumber: String
Content copied to clipboard