enterpriseValue property
double
get
enterpriseValue
Calculate intrinsic value using DCF model. Returns total enterprise value.
Implementation
double get enterpriseValue {
var presentValue = 0.0;
var projectedFcf = freeCashFlow;
// Sum of discounted projected cash flows
for (var year = 1; year <= projectionYears; year++) {
projectedFcf *= 1 + growthRate;
final discountFactor = 1 / pow(1 + discountRate, year);
presentValue += projectedFcf * discountFactor;
}
// Terminal value using Gordon Growth Model
final terminalFcf = projectedFcf * (1 + terminalGrowthRate);
final terminalValue = terminalFcf / (discountRate - terminalGrowthRate);
final discountedTerminal =
terminalValue / pow(1 + discountRate, projectionYears);
return presentValue + discountedTerminal;
}