freeCashFlow property
double?
get
freeCashFlow
Free cash flow calculated as:
- If CapEx available: Operating Cash Flow - |CapEx|
- Fallback: Operating Cash Flow + Investing Cash Flow
Note: CapEx is typically negative (outflow), so we use absolute value.
Implementation
double? get freeCashFlow {
if (operatingCashFlow == null) return null;
// Prefer explicit CapEx calculation for accuracy
if (capitalExpenditures != null) {
// CapEx is typically negative, so we subtract the absolute value
return operatingCashFlow! - capitalExpenditures!.abs();
}
// Fallback to operating + investing (less accurate but still useful)
if (investingCashFlow != null) {
return operatingCashFlow! + investingCashFlow!;
}
return null;
}