Metric.fromJson constructor
Implementation
Metric.fromJson(Map<String, dynamic> json) {
symbol = json['symbol'];
date = json['date'];
period = json['period'];
revenueGrowth = json['revenueGrowth']?.toDouble();
grossProfitGrowth = json['grossProfitGrowth']?.toDouble();
ebitgrowth = json['ebitgrowth']?.toDouble();
operatingIncomeGrowth = json['operatingIncomeGrowth']?.toDouble();
netIncomeGrowth = json['netIncomeGrowth']?.toDouble();
epsgrowth = json['epsgrowth']?.toDouble();
epsdilutedGrowth = json['epsdilutedGrowth']?.toDouble();
weightedAverageSharesGrowth =
json['weightedAverageSharesGrowth']?.toDouble();
weightedAverageSharesDilutedGrowth =
json['weightedAverageSharesDilutedGrowth']?.toDouble();
dividendsperShareGrowth = json['dividendsperShareGrowth']?.toDouble();
operatingCashFlowGrowth = json['operatingCashFlowGrowth']?.toDouble();
freeCashFlowGrowth = json['freeCashFlowGrowth']?.toDouble();
tenYRevenueGrowthPerShare = json['tenYRevenueGrowthPerShare']?.toDouble();
fiveYRevenueGrowthPerShare = json['fiveYRevenueGrowthPerShare']?.toDouble();
threeYRevenueGrowthPerShare =
json['threeYRevenueGrowthPerShare']?.toDouble();
tenYOperatingCFGrowthPerShare =
json['tenYOperatingCFGrowthPerShare']?.toDouble();
fiveYOperatingCFGrowthPerShare =
json['fiveYOperatingCFGrowthPerShare']?.toDouble();
threeYOperatingCFGrowthPerShare =
json['threeYOperatingCFGrowthPerShare']?.toDouble();
tenYNetIncomeGrowthPerShare =
json['tenYNetIncomeGrowthPerShare']?.toDouble();
fiveYNetIncomeGrowthPerShare =
json['fiveYNetIncomeGrowthPerShare']?.toDouble();
threeYNetIncomeGrowthPerShare =
json['threeYNetIncomeGrowthPerShare']?.toDouble();
tenYShareholdersEquityGrowthPerShare =
json['tenYShareholdersEquityGrowthPerShare']?.toDouble();
fiveYShareholdersEquityGrowthPerShare =
json['fiveYShareholdersEquityGrowthPerShare']?.toDouble();
threeYShareholdersEquityGrowthPerShare =
json['threeYShareholdersEquityGrowthPerShare']?.toDouble();
tenYDividendperShareGrowthPerShare =
json['tenYDividendperShareGrowthPerShare']?.toDouble();
fiveYDividendperShareGrowthPerShare =
json['fiveYDividendperShareGrowthPerShare']?.toDouble();
threeYDividendperShareGrowthPerShare =
json['threeYDividendperShareGrowthPerShare']?.toDouble();
receivablesGrowth = json['receivablesGrowth']?.toDouble();
inventoryGrowth = json['inventoryGrowth']?.toDouble();
assetGrowth = json['assetGrowth']?.toDouble();
bookValueperShareGrowth = json['bookValueperShareGrowth']?.toDouble();
debtGrowth = json['debtGrowth']?.toDouble();
rdexpenseGrowth = json['rdexpenseGrowth']?.toDouble();
sgaexpensesGrowth = json['sgaexpensesGrowth']?.toDouble();
revenuePerShare = json['revenuePerShare']?.toDouble();
netIncomePerShare = json['netIncomePerShare']?.toDouble();
operatingCashFlowPerShare = json['operatingCashFlowPerShare']?.toDouble();
freeCashFlowPerShare = json['freeCashFlowPerShare']?.toDouble();
cashPerShare = json['cashPerShare']?.toDouble();
bookValuePerShare = json['bookValuePerShare']?.toDouble();
tangibleBookValuePerShare = json['tangibleBookValuePerShare']?.toDouble();
shareholdersEquityPerShare = json['shareholdersEquityPerShare']?.toDouble();
interestDebtPerShare = json['interestDebtPerShare']?.toDouble();
marketCap = json['marketCap']?.toDouble();
enterpriseValue = json['enterpriseValue']?.toDouble();
peRatio = json['peRatio']?.toDouble();
priceToSalesRatio = json['priceToSalesRatio']?.toDouble();
pocfratio = json['pocfratio']?.toDouble();
pfcfRatio = json['pfcfRatio']?.toDouble();
pbRatio = json['pbRatio']?.toDouble();
ptbRatio = json['ptbRatio']?.toDouble();
evToSales = json['evToSales']?.toDouble();
enterpriseValueOverEBITDA = json['enterpriseValueOverEBITDA']?.toDouble();
evToOperatingCashFlow = json['evToOperatingCashFlow']?.toDouble();
evToFreeCashFlow = json['evToFreeCashFlow']?.toDouble();
earningsYield = json['earningsYield']?.toDouble();
freeCashFlowYield = json['freeCashFlowYield']?.toDouble();
debtToEquity = json['debtToEquity']?.toDouble();
debtToAssets = json['debtToAssets']?.toDouble();
netDebtToEBITDA = json['netDebtToEBITDA']?.toDouble();
currentRatio = json['currentRatio']?.toDouble();
interestCoverage = json['interestCoverage']?.toDouble();
incomeQuality = json['incomeQuality']?.toDouble();
dividendYield = json['dividendYield']?.toDouble();
dividendYieldPercentage = json['dividendYieldPercentage']?.toDouble();
payoutRatio = json['payoutRatio']?.toDouble();
salesGeneralAndAdministrativeToRevenue =
json['salesGeneralAndAdministrativeToRevenue']?.toDouble();
researchAndDevelopementToRevenue =
json['researchAndDevelopementToRevenue']?.toDouble();
intangiblesToTotalAssets = json['intangiblesToTotalAssets']?.toDouble();
capexToOperatingCashFlow = json['capexToOperatingCashFlow']?.toDouble();
capexToRevenue = json['capexToRevenue']?.toDouble();
capexToDepreciation = json['capexToDepreciation']?.toDouble();
stockBasedCompensationToRevenue =
json['stockBasedCompensationToRevenue']?.toDouble();
grahamNumber = json['grahamNumber']?.toDouble();
roic = json['roic']?.toDouble();
returnOnTangibleAssets = json['returnOnTangibleAssets']?.toDouble();
grahamNetNet = json['grahamNetNet']?.toDouble();
workingCapital = json['workingCapital']?.toDouble();
tangibleAssetValue = json['tangibleAssetValue']?.toDouble();
netCurrentAssetValue = json['netCurrentAssetValue']?.toDouble();
investedCapital = json['investedCapital']?.toDouble();
averageReceivables = json['averageReceivables']?.toDouble();
averagePayables = json['averagePayables']?.toDouble();
averageInventory = json['averageInventory']?.toDouble();
daysSalesOutstanding = json['daysSalesOutstanding']?.toDouble();
daysPayablesOutstanding = json['daysPayablesOutstanding']?.toDouble();
daysOfInventoryOnHand = json['daysOfInventoryOnHand']?.toDouble();
receivablesTurnover = json['receivablesTurnover']?.toDouble();
payablesTurnover = json['payablesTurnover']?.toDouble();
inventoryTurnover = json['inventoryTurnover']?.toDouble();
roe = json['roe']?.toDouble();
capexPerShare = json['capexPerShare']?.toDouble();
dividendPerShare = json['dividendPerShare']?.toDouble();
debtToMarketCap = json['debtToMarketCap']?.toDouble();
d1DayPriceReturnDaily = json['1DayPriceReturnDaily']?.toDouble();
d5DayPriceReturnDaily = json['5DayPriceReturnDaily']?.toDouble();
d4WeekPriceReturnDaily = json['4WeekPriceReturnDaily']?.toDouble();
d13WeekPriceReturnDaily = json['13WeekPriceReturnDaily']?.toDouble();
d26WeekPriceReturnDaily = json['26WeekPriceReturnDaily']?.toDouble();
yearToDatePriceReturnDaily = json['yearToDatePriceReturnDaily']?.toDouble();
d1yearPriceReturnDaily = json['1yearPriceReturnDaily']?.toDouble();
d3yearPriceReturnDaily = json['3yearPriceReturnDaily']?.toDouble();
d5yearPriceReturnDaily = json['5yearPriceReturnDaily']?.toDouble();
d10yearPriceReturnDaily = json['10yearPriceReturnDaily']?.toDouble();
maxPriceReturnDaily = json['maxPriceReturnDaily']?.toDouble();
}