FinancialDetails class

Details of a financial analysis.

Some of these details are already stored at higher levels (e.g., out of pocket cost). Total money amounts are over a lifetime period defined by the panel_lifetime_years field in SolarPotential. Note: The out of pocket cost of purchasing the panels is given in the out_of_pocket_cost field in CashPurchaseSavings.

Constructors

FinancialDetails({Money? costOfElectricityWithoutSolar, Money? federalIncentive, double? initialAcKwhPerYear, Money? lifetimeSrecTotal, bool? netMeteringAllowed, double? percentageExportedToGrid, Money? remainingLifetimeUtilityBill, double? solarPercentage, Money? stateIncentive, Money? utilityIncentive})
FinancialDetails.fromJson(Map json_)

Properties

costOfElectricityWithoutSolar Money?
Total cost of electricity the user would have paid over the lifetime period if they didn't install solar.
getter/setter pair
federalIncentive Money?
Amount of money available from federal incentives; this applies if the user buys (with or without a loan) the panels.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
initialAcKwhPerYear double?
How many AC kWh we think the solar panels will generate in their first year.
getter/setter pair
lifetimeSrecTotal Money?
Amount of money the user will receive from Solar Renewable Energy Credits over the panel lifetime; this applies if the user buys (with or without a loan) the panels.
getter/setter pair
netMeteringAllowed bool?
Whether net metering is allowed.
getter/setter pair
percentageExportedToGrid double?
The percentage (0-100) of solar electricity production we assumed was exported to the grid, based on the first quarter of production.
getter/setter pair
remainingLifetimeUtilityBill Money?
Utility bill for electricity not produced by solar, for the lifetime of the panels.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
solarPercentage double?
Percentage (0-100) of the user's power supplied by solar.
getter/setter pair
stateIncentive Money?
Amount of money available from state incentives; this applies if the user buys (with or without a loan) the panels.
getter/setter pair
utilityIncentive Money?
Amount of money available from utility incentives; this applies if the user buys (with or without a loan) the panels.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited