CashFlowData.fromJson constructor

CashFlowData.fromJson(
  1. Map<String, dynamic> json
)

Implementation

CashFlowData.fromJson(Map<String, dynamic> json) {
  date = json['date'];
  symbol = json['symbol'];
  reportedCurrency = json['reportedCurrency'];
  cik = json['cik'];
  fillingDate = json['fillingDate'];
  acceptedDate = json['acceptedDate'];
  year = int.parse(json['calendarYear']);
  period = json['period'];
  stockBasedCompensation = json['stockBasedCompensation']?.toDouble();
  accountsReceivables = json['accountsReceivables']?.toDouble();
  inventory = json['inventory']?.toDouble();
  accountsPayables = json['accountsPayables']?.toDouble();
  otherWorkingCapital = json['otherWorkingCapital']?.toDouble();
  otherNonCashItems = json['otherNonCashItems']?.toDouble();
  netCashProvidedByOperatingActivities =
      json['netCashProvidedByOperatingActivities']?.toDouble();
  investmentsInPropertyPlantAndEquipment =
      json['investmentsInPropertyPlantAndEquipment']?.toDouble();
  acquisitionsNet = json['acquisitionsNet']?.toDouble();
  purchasesOfInvestments = json['purchasesOfInvestments']?.toDouble();
  salesMaturitiesOfInvestments =
      json['salesMaturitiesOfInvestments']?.toDouble();
  otherInvestingActivites = json['otherInvestingActivites']?.toDouble();
  debtRepayment = json['debtRepayment']?.toDouble();
  commonStockIssued = json['commonStockIssued']?.toDouble();
  otherFinancingActivites = json['otherFinancingActivites']?.toDouble();
  effectOfForexChangesOnCash = json['effectOfForexChangesOnCash']?.toDouble();
  cashAtEndOfPeriod = json['cashAtEndOfPeriod']?.toDouble();
  cashAtBeginningOfPeriod = json['cashAtBeginningOfPeriod']?.toDouble();
  link = json['link'];
  finalLink = json['finalLink'];
  capex = json['capex']?.toDouble();
  cashDividendsPaid = json['cashDividendsPaid']?.toDouble();
  changeinCash = json['changeinCash']?.toDouble();
  changesinWorkingCapital = json['changesinWorkingCapital']?.toDouble();
  deferredTaxesInvestmentTaxCredit =
      json['deferredTaxesInvestmentTaxCredit']?.toDouble();
  depreciationAmortization = json['depreciationAmortization']?.toDouble();
  fcf = json['freeCashFlow']?.toDouble();
  issuanceReductionCapitalStock =
      json['issuanceReductionCapitalStock']?.toDouble();
  netCashFinancingActivities = json['netCashFinancingActivities']?.toDouble();
  netIncomeStartingLine = json['netIncomeStartingLine']?.toDouble();
  netInvestingCashFlow = json['netInvestingCashFlow']?.toDouble();
  netOperatingCashFlow = json['netOperatingCashFlow']?.toDouble();
}