encode method

Object encode()

Implementation

Object encode() {
  return <Object?>[
    successInvoice?.encode(),
    invalidInvoice?.encode(),
    successPurchase?.encode(),
    invalidPurchase?.encode(),
  ];
}