Transaction class abstract

Annotations
  • @freezed

Constructors

Transaction({required DateTime date, @Default('*') String flag, String? payee, String? narration, @Default([]) List<String> tags, @Default([]) List<String> links, @Default({}) Map<String, MetaValue> metadata, @Default([]) List<Posting> postings, String? comment})
factory

Properties

balanced Transaction
no setter
canBeBalanced bool
no setter
comment String?
no setterinherited
copyWith → $TransactionCopyWith<Transaction>
no setterinherited
date DateTime
no setterinherited
flag String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
headerToString String
no setter
isBalanced bool
no setter
no setterinherited
metadata Map<String, MetaValue>
no setterinherited
narration String?
no setterinherited
payee String?
no setterinherited
postings List<Posting>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify String
no setter
sumsMap Map<Currency, Money>
no setter
tags List<String>
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited