UserTransaction constructor

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

Implementation

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