FinancialAnalysis class

Analysis of the cost and benefits of the optimum solar layout for a particular electric bill size.

Constructors

FinancialAnalysis({double? averageKwhPerMonth, CashPurchaseSavings? cashPurchaseSavings, bool? defaultBill, FinancedPurchaseSavings? financedPurchaseSavings, FinancialDetails? financialDetails, LeasingSavings? leasingSavings, Money? monthlyBill, int? panelConfigIndex})
FinancialAnalysis.fromJson(Map json_)

Properties

averageKwhPerMonth double?
How much electricity the house uses in an average month, based on the bill size and the local electricity rates.
getter/setter pair
cashPurchaseSavings CashPurchaseSavings?
Cost and benefit of buying the solar panels with cash.
getter/setter pair
defaultBill bool?
Whether this is the bill size selected to be the default bill for the area this building is in.
getter/setter pair
financedPurchaseSavings FinancedPurchaseSavings?
Cost and benefit of buying the solar panels by financing the purchase.
getter/setter pair
financialDetails FinancialDetails?
Financial information that applies regardless of the financing method used.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
leasingSavings LeasingSavings?
Cost and benefit of leasing the solar panels.
getter/setter pair
monthlyBill Money?
The monthly electric bill this analysis assumes.
getter/setter pair
panelConfigIndex int?
Index in solar_panel_configs of the optimum solar layout for this bill size.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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