PerformanceData

Class representing the user's performances.

Constructor

new PerformanceData(data)

Creates the user's performances data.

Parameters:
NameTypeDescription
dataArray

The data array fetched from API.

Properties
NameTypeDescription
kindObject

The performance types.

dataArray.<Object>

The user's data.

Properties
NameTypeDescription
kindNumber

The user's data performance type.

valueNumber

The user's data value.

Example
const userPerf = new PerformanceData(data)