StepUp class

How a SIP instalment grows once a year.

The instalment of year k (0-based) is P * (1 + pct/100)^k for StepUp.percent and P + inc * k for StepUp.fixed.

Constructors

StepUp.fixed(double amount)
Increase the monthly amount by a fixed amount each year.
const
StepUp.percent(double percent)
Increase the monthly amount by percent percent each year.
const

Properties

amount → double
Yearly fixed increase (0 for a percentage step-up).
final
hashCode → int
The hash code for this object.
no setterinherited
percent → double
Yearly percentage increase (0 for a fixed step-up).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

instalment(double base, int year) → double
Instalment for 0-based year.
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