NmGalaxySelectionStats class
Statistics computed from a selection of properties
Constructors
-
NmGalaxySelectionStats({required int count, required double totalValue, required double totalLienAmount, required double averageRoi, required double averageExpectedRoi, required double averageRedemptionProb, required double averageRiskScore, required int averagePaybackMonths, required Map<
String, int> riskDistribution, required Map<String, int> stageDistribution, required Map<String, int> exemptionDistribution, required Set<String> counties, required Set<String> propertyTypes}) -
Creates a NmGalaxySelectionStats.
const
- NmGalaxySelectionStats.empty()
-
Creates a NmGalaxySelectionStats (empty).
factory
-
NmGalaxySelectionStats.fromProperties(List<
NmGalaxyLien> properties) -
Creates a NmGalaxySelectionStats (from properties).
factory
Properties
- averageExpectedRoi → double
-
Average expected roi.
final
- averagePaybackMonths → int
-
Average payback months.
final
- averageRedemptionProb → double
-
Average redemption prob.
final
- averageRiskScore → double
-
Average risk score.
final
- averageRoi → double
-
Average roi.
final
- count → int
-
Count.
final
-
counties
→ Set<
String> -
Counties.
final
-
exemptionDistribution
→ Map<
String, int> -
Exemption distribution.
final
- formattedLienAmount → String
-
Format lien amount for display
no setter
- formattedTotalValue → String
-
Format total value for display
no setter
- hasExemptions → bool
-
Check if selection has any exemption properties
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasHighRisk → bool
-
Check if selection has any high-risk properties
no setter
-
propertyTypes
→ Set<
String> -
Property types.
final
-
riskDistribution
→ Map<
String, int> -
Risk distribution.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stageDistribution
→ Map<
String, int> -
Stage distribution.
final
- totalLienAmount → double
-
Total lien amount.
final
- totalValue → double
-
Total value.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited