TransactionBase class
- Available extensions
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
-
TransactionBase({TransactionBaseTransactionType? transactionType, String? pendingTransactionId, String? categoryId, List<
String> ? category, Location? location, PaymentMeta? paymentMeta, String? accountOwner, String? name, String? originalDescription, required String accountId, required double amount, required String? isoCurrencyCode, required String? unofficialCurrencyCode, required DateTime date, required bool pending, required String transactionId, String? merchantName, String? checkNumber}) -
TransactionBase.fromJson(Map<
String, dynamic> json) -
factory
Properties
- accountId → String
-
final
- accountOwner → String?
-
final
- amount → double
-
final
-
category
→ List<
String> ? -
final
- categoryId → String?
-
final
- checkNumber → String?
-
final
- date → DateTime
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- isoCurrencyCode → String?
-
final
- location → Location?
-
final
- merchantName → String?
-
final
- name → String?
-
final
- originalDescription → String?
-
final
- paymentMeta → PaymentMeta?
-
final
- pending → bool
-
final
- pendingTransactionId → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transactionId → String
-
final
- transactionType → TransactionBaseTransactionType?
-
final
- unofficialCurrencyCode → String?
-
final
Methods
-
copyWith(
{TransactionBaseTransactionType? transactionType, String? pendingTransactionId, String? categoryId, List< String> ? category, Location? location, PaymentMeta? paymentMeta, String? accountOwner, String? name, String? originalDescription, String? accountId, double? amount, String? isoCurrencyCode, String? unofficialCurrencyCode, DateTime? date, bool? pending, String? transactionId, String? merchantName, String? checkNumber}) → TransactionBase -
Available on TransactionBase, provided by the $TransactionBaseExtension extension
-
copyWithWrapped(
{Wrapped< TransactionBaseTransactionType?> ? transactionType, Wrapped<String?> ? pendingTransactionId, Wrapped<String?> ? categoryId, Wrapped<List< ? category, Wrapped<String> ?>Location?> ? location, Wrapped<PaymentMeta?> ? paymentMeta, Wrapped<String?> ? accountOwner, Wrapped<String?> ? name, Wrapped<String?> ? originalDescription, Wrapped<String> ? accountId, Wrapped<double> ? amount, Wrapped<String?> ? isoCurrencyCode, Wrapped<String?> ? unofficialCurrencyCode, Wrapped<DateTime> ? date, Wrapped<bool> ? pending, Wrapped<String> ? transactionId, Wrapped<String?> ? merchantName, Wrapped<String?> ? checkNumber}) → TransactionBase -
Available on TransactionBase, provided by the $TransactionBaseExtension 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 TransactionBase Function(Map<
String, dynamic> json) -
toJsonFactory
→ const Map<
String, dynamic> Function(TransactionBase instance)