BalanceSheet class

Constructors

BalanceSheet({String? asOf, List<BalanceLine> assets = const [], bool? balanced, List<BalanceLine> equity = const [], List<BalanceLine> liabilities = const [], int? totalAssets, int? totalEquity, int? totalLiabilities})
Returns a new BalanceSheet instance.

Properties

asOf ↔ String?
AsOf is the posting time the statement is taken at, inclusive. A balance sheet is a snapshot, not a window, so there is no From. Absent means as of now.
getter/setter pair
assets ↔ List<BalanceLine>
Assets are what the org OWNS at that instant, one line per account that has a balance. Cash, receivables, funds captured but not yet settled.
getter/setter pair
balanced ↔ bool?
Balanced is whether assets equal liabilities plus equity — the accounting equation, computed from the totals above rather than assumed. False means the ledger is broken, not that the statement is.
getter/setter pair
equity ↔ List<BalanceLine>
Equity is what is left over for the owners. It carries a DERIVED retained earnings line holding cumulative income minus expense, because this ledger has no period close that sweeps the P&L into equity — without that line the equation would not close.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
liabilities ↔ List<BalanceLine>
Liabilities are what the org OWES — including customers' unspent prepaid credit, which is their money until it is consumed and so is carried here rather than counted as revenue.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
totalAssets ↔ int?
TotalAssets is the sum of the asset lines, in cents.
getter/setter pair
totalEquity ↔ int?
TotalEquity is the sum of the equity lines including retained earnings, in cents.
getter/setter pair
totalLiabilities ↔ int?
TotalLiabilities is the sum of the liability lines, in cents.
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.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → BalanceSheet?
Returns a new BalanceSheet instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<BalanceSheet>
mapFromJson(dynamic json) → Map<String, BalanceSheet>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<BalanceSheet>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.