Assignment constructor

Assignment({
  1. required AssignmentType type,
  2. int? amount,
})

Implementation

Assignment({required this.type, this.amount});