UserTransaction constructor

UserTransaction({
  1. required String id,
  2. required User user,
  3. required double balance,
  4. required double amount,
  5. required double moneyAmount,
  6. required double pointAmount,
  7. double? rawPointAmount,
  8. double? campaignPointAmount,
  9. required Account account,
  10. required String description,
  11. required DateTime doneAt,
  12. required String type,
  13. required bool isModified,
})

Implementation

UserTransaction({
  required this.id,
  required this.user,
  required this.balance,
  required this.amount,
  required this.moneyAmount,
  required this.pointAmount,
  this.rawPointAmount,
  this.campaignPointAmount,
  required this.account,
  required this.description,
  required this.doneAt,
  required this.type,
  required this.isModified,
});