PnL class
Properties
expense
↔ List <PnLLine >
Expense is the cost lines that moved in the period, one per account.
getter/setter pair
from
↔ String ?
From opens the period and is EXCLUSIVE — movement strictly after it, matching the trial balance's opening boundary so the two reports agree on what belongs to a period. Absent means from the beginning of the ledger.
getter/setter pair
hashCode
→ int
The hash code for this object.
no setter override
income
↔ List <PnLLine >
Income is the revenue lines that moved in the period, one per account. Accounts that did not move are omitted rather than listed at zero.
getter/setter pair
netIncome
↔ int ?
NetIncome is totalIncome minus totalExpense, in cents. Negative is a loss.
getter/setter pair
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
to
↔ String ?
To closes the period and is inclusive. Absent means up to now.
getter/setter pair
totalExpense
↔ int ?
TotalExpense is cost MATCHED to that revenue, in cents, including accrued infrastructure that has not been billed yet.
getter/setter pair
totalIncome
↔ int ?
TotalIncome is revenue RECOGNIZED in the period, in cents — accrual, not cash, so a prepaid top-up is not in it until the credit is consumed.
getter/setter pair