Bill constructor
The only constructor for Bill
Implementation
Bill({
String? barcode,
String currency = toman,
int? billId,
int? paymentId,
}) : _barcode = barcode,
_currency = currencies.singleWhere((c) => currency == c),
_billId = billId,
_paymentId = paymentId;