UserTransaction class

Annotations
  • @JsonSerializable.new()

Constructors

UserTransaction({required String id, required String type, required bool isModified, required User user, double? balance, double? customerBalance, double? amount, double? moneyAmount, double? pointAmount, required Account account, required String description, required String doneAt, List<UserTransfer>? transfers})
UserTransaction.fromJson(Map<String, dynamic> json)
factory

Properties

account → Account
final
amount → double?
final
balance → double?
final
customerBalance → double?
final
description → String
final
doneAt → String
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
isModified → bool
final
moneyAmount → double?
final
pointAmount → double?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
transfers → List<UserTransfer>?
final
type → String
final
user → User
final

Methods

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 ==(Object other) → bool
The equality operator.
inherited