TransactionDetail class

Available extensions
Annotations
  • @JsonSerializable.new(explicitToJson: true)

Constructors

TransactionDetail({required String accountName, String? payeeName, String? categoryName, required List<SubTransaction> subtransactions, required String id, required DateTime date, required num amount, String? memo, required TransactionDetailCleared cleared, required bool approved, TransactionDetailFlagColor? flagColor, required String accountId, String? payeeId, String? categoryId, String? transferAccountId, String? transferTransactionId, String? matchedTransactionId, String? importId, String? importPayeeName, String? importPayeeNameOriginal, required bool deleted})
TransactionDetail.fromJson(Map<String, dynamic> json)
factory

Properties

accountId String
final
accountName String
final
amount num
final
approved bool
final
categoryId String?
final
categoryName String?
final
cleared TransactionDetailCleared
final
date DateTime
final
deleted bool
final
flagColor TransactionDetailFlagColor?
final
hashCode int
The hash code for this object.
no setteroverride
id String
final
importId String?
final
importPayeeName String?
final
importPayeeNameOriginal String?
final
matchedTransactionId String?
final
memo String?
final
payeeId String?
final
payeeName String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subtransactions List<SubTransaction>
final
transferAccountId String?
final
transferTransactionId String?
final

Methods

copyWith({String? accountName, String? payeeName, String? categoryName, List<SubTransaction>? subtransactions, String? id, DateTime? date, num? amount, String? memo, TransactionDetailCleared? cleared, bool? approved, TransactionDetailFlagColor? flagColor, String? accountId, String? payeeId, String? categoryId, String? transferAccountId, String? transferTransactionId, String? matchedTransactionId, String? importId, String? importPayeeName, String? importPayeeNameOriginal, bool? deleted}) TransactionDetail

Available on TransactionDetail, provided by the $TransactionDetailExtension extension

copyWithWrapped({Wrapped<String>? accountName, Wrapped<String?>? payeeName, Wrapped<String?>? categoryName, Wrapped<List<SubTransaction>>? subtransactions, Wrapped<String>? id, Wrapped<DateTime>? date, Wrapped<num>? amount, Wrapped<String?>? memo, Wrapped<TransactionDetailCleared>? cleared, Wrapped<bool>? approved, Wrapped<TransactionDetailFlagColor?>? flagColor, Wrapped<String>? accountId, Wrapped<String?>? payeeId, Wrapped<String?>? categoryId, Wrapped<String?>? transferAccountId, Wrapped<String?>? transferTransactionId, Wrapped<String?>? matchedTransactionId, Wrapped<String?>? importId, Wrapped<String?>? importPayeeName, Wrapped<String?>? importPayeeNameOriginal, Wrapped<bool>? deleted}) TransactionDetail

Available on TransactionDetail, provided by the $TransactionDetailExtension extension

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 ==(dynamic other) bool
The equality operator.
override

Constants

fromJsonFactory → const TransactionDetail Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(TransactionDetail instance)