TransactionData class
- Available extensions
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- TransactionData({required String description, required double amount, required DateTime date, required String accountId, required String transactionId})
-
TransactionData.fromJson(Map<
String, dynamic> json) -
factory
Properties
- accountId → String
-
final
- amount → double
-
final
- date → DateTime
-
final
- description → String
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transactionId → String
-
final
Methods
-
copyWith(
{String? description, double? amount, DateTime? date, String? accountId, String? transactionId}) → TransactionData -
Available on TransactionData, provided by the $TransactionDataExtension extension
-
copyWithWrapped(
{Wrapped< String> ? description, Wrapped<double> ? amount, Wrapped<DateTime> ? date, Wrapped<String> ? accountId, Wrapped<String> ? transactionId}) → TransactionData -
Available on TransactionData, provided by the $TransactionDataExtension 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 TransactionData Function(Map<
String, dynamic> json) -
toJsonFactory
→ const Map<
String, dynamic> Function(TransactionData instance)