call method
You can invoke the object of the Bill to get all information about the Bill
Implementation
Map<String, dynamic> call() => {
'amount': amount,
'type': billType,
'barcode': barcode,
'isBillValid': isBillValid,
'isBillIdValid': isBillIdValid,
'isPaymentIdValid': isPaymentIdValid,
};