Voucher constructor

const Voucher(
  1. {Key? key,
  2. required VoucherModel voucherModel,
  3. required bool alreadyCanceled,
  4. required bool canceled,
  5. required String description}
)

Implementation

const Voucher({
  Key? key,
  required this.voucherModel,
  required this.alreadyCanceled,
  required this.canceled,
  required this.description,
}) : super(key: key);