Constructor
new UserInfoData(data)
Creates the user's informations and key datas.
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
data | Object | The data object fetched from API. Properties
|
Example
const userInfo = new UserInfoData(data)