Cashtray constructor

Cashtray(
  1. {@required String id,
  2. @required double amount,
  3. @required String description,
  4. @required User user,
  5. @required PrivateMoney privateMoney,
  6. @required DateTime expiresAt,
  7. DateTime canceledAt,
  8. @required String token,
  9. CashtrayAttempt attempt,
  10. UserTransaction transaction}
)

Implementation

Cashtray({
  @required this.id,
  @required this.amount,
  @required this.description,
  @required this.user,
  @required this.privateMoney,
  @required this.expiresAt,
  this.canceledAt,
  @required this.token,
  this.attempt,
  this.transaction,
});