FinancialPackage class

Constructors

FinancialPackage({BalanceSheet? balanceSheet, String? from, String? generatedAt, List<GLRow> gl = const [], String? org, PnL? pnl, String? to, TrialBalance? trialBalance})
Returns a new FinancialPackage instance.

Properties

balanceSheet ↔ BalanceSheet?
BalanceSheet is struck as of the period END, not the start.
getter/setter pair
from ↔ String?
From opens the reporting period. Absent means from the beginning of the ledger.
getter/setter pair
generatedAt ↔ String?
GeneratedAt is when the bundle was assembled — the moment the statements were struck, which is what makes two exports of the same period comparable.
getter/setter pair
gl ↔ List<GLRow>
GL is the newest slice of ledger detail, as the audit trail behind the statements. It is CAPPED, so on a busy ledger it is a sample rather than the full support for the figures above.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
org ↔ String?
Org is the organisation whose books these are — the validated caller's own, stamped so a downloaded bundle still says whose it is.
getter/setter pair
pnl ↔ PnL?
PnL is the income statement for the period, on an accrual basis.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
to ↔ String?
To closes it. Absent means up to now.
getter/setter pair
trialBalance ↔ TrialBalance?
TrialBalance is the proof the ledger balances over the period.
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) → FinancialPackage?
Returns a new FinancialPackage instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<FinancialPackage>
mapFromJson(dynamic json) → Map<String, FinancialPackage>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<FinancialPackage>>

Constants

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