Check constructor Null safety

Check(
  1. {required String id,
  2. required double amount,
  3. required double moneyAmount,
  4. required double pointAmount,
  5. required String description,
  6. required User user,
  7. required PrivateMoney privateMoney,
  8. required bool isOnetime,
  9. required bool isDisabled,
  10. required DateTime expiresAt,
  11. DateTime? pointExpiresAt,
  12. int? pointExpiresInDays,
  13. required String token}
)

Implementation

Check({
  required this.id,
  required this.amount,
  required this.moneyAmount,
  required this.pointAmount,
  required this.description,
  required this.user,
  required this.privateMoney,
  required this.isOnetime,
  required this.isDisabled,
  required this.expiresAt,
  this.pointExpiresAt,
  this.pointExpiresInDays,
  required this.token,
});