Konto class
one account .
Constructors
- Konto({dynamic number, dynamic name = "kein Name", dynamic desc, dynamic plan, dynamic valuta, dynamic cur, dynamic budget})
- CTOR where you can specify the number of the account, its name (the number is recursively consumed) to which account plan it relates valute the actual value in the account budget a theoretical value that lapsed should generate warnings .
Properties
- budget ↔ int
-
getter/setter pair
-
children
↔ SplayTreeMap<
String, Konto> -
getter/setter pair
- cur ↔ String
-
getter/setter pair
- desc ↔ String
-
getter/setter pair
- extract ↔ Journal
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String
-
getter/setter pair
- number ↔ String
-
getter/setter pair
- plan ↔ KontoPlan
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- valuta ↔ int
-
getter/setter pair
Methods
-
action(
JrlLine line, {String mode = "add"}) → Konto - add a journal line to our account extract, update the valuta .
-
asList(
{List< List> asList = const [], bool all = false}) → List<List> - return this thins as a list, recurse through the tree preparation for e.g. csv conversion .
-
get(
String ktoName, {String orgName = "undef"}) → Konto - get the target account, by descending into the tree of accounts null safe, if no account was found a dummy one is generated .
-
getRange(
String min, String max, {List< Konto> ? passthrough}) → List<Konto> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
numFormat(
int toConvert) → String - pretty print a number as currency
-
printname(
) → dynamic - pretty print the account name, olb WB style fibu had 4 char wide account fields... .
-
set(
{dynamic number, dynamic name = "kein Name", dynamic plan, dynamic desc, dynamic valuta, dynamic cur, dynamic budget}) → Konto - setter for the values concerning this object the number of the account, its name (the number is recursively consumed) to which account plan it relates valute the actual value in the account budget a theoretical value that lapsed should generate warnings .
-
sum(
) → int - sum up the sub accounts below this one
-
toString(
{String indent = "", bool debug = false, bool recursive = false, dynamic empty = false, bool extracts = false}) → String -
create a String representation of this object, eventually
by recursing through the sub accounts below this one .
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited