AccountsOut class

Constructors

AccountsOut({List<AccountView> accounts = const [], String? scope, String? tenant})
Returns a new AccountsOut instance.

Properties

accounts ↔ List<AccountView>
Accounts are the ledger accounts in scope with their balances.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scope ↔ String?
Scope is the scope actually served: "org" or "house".
getter/setter pair
tenant ↔ String?
Tenant is the org whose accounts these are (empty for the house scope's own rows).
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) → AccountsOut?
Returns a new AccountsOut instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<AccountsOut>
mapFromJson(dynamic json) → Map<String, AccountsOut>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<AccountsOut>>

Constants

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