TrialBalanceRow class

Constructors

TrialBalanceRow({String? account, int? closingCredit, int? closingDebit, int? credit, int? debit, String? name, int? openingCredit, int? openingDebit, String? type})
Returns a new TrialBalanceRow instance.

Properties

account ↔ String?
Account is the chart-of-accounts NUMBER this line reports on ("1000", "4000") — the stable posting key, not a display label.
getter/setter pair
closingCredit ↔ int?
ClosingCredit is that closing balance in cents when it is a credit balance.
getter/setter pair
closingDebit ↔ int?
ClosingDebit is the balance at the end of the window, in cents, when it is a debit balance. This is the column the report's totals are summed from.
getter/setter pair
credit ↔ int?
Credit is the same window movement in cents when it was net credit.
getter/setter pair
debit ↔ int?
Debit is the account's MOVEMENT within the window — closing minus opening, not the closing balance — in cents, when that movement was net debit. Zero when the account moved net credit.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
name ↔ String?
Name is that account's human name from the fixed chart.
getter/setter pair
openingCredit ↔ int?
OpeningCredit is the same opening balance in cents when it fell on the credit side. Zero when the balance was a debit one.
getter/setter pair
openingDebit ↔ int?
OpeningDebit is the account's balance before the window began, in whole cents, when that balance was on the debit side. Zero when the balance was a credit one — the pair is exclusive, never two halves of one number.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type ↔ String?
Type is the account's fundamental class — asset, liability, income, expense or equity — which is also its normal balance side. It is carried for presentation and does NOT decide which column an amount lands in: placement follows the sign of the real net, so a contra balance shows up as one.
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) → TrialBalanceRow?
Returns a new TrialBalanceRow instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<TrialBalanceRow>
mapFromJson(dynamic json) → Map<String, TrialBalanceRow>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<TrialBalanceRow>>

Constants

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