CommercioDocReceipt constructor

CommercioDocReceipt({
  1. required String uuid,
  2. required String senderDid,
  3. required String recipientDid,
  4. required String txHash,
  5. required String documentUuid,
  6. String? proof,
})

Implementation

CommercioDocReceipt({
  required this.uuid,
  required this.senderDid,
  required this.recipientDid,
  required this.txHash,
  required this.documentUuid,
  this.proof,
})  : assert(matchUuidv4(uuid)),
      assert(matchBech32Format(senderDid)),
      assert(matchBech32Format(recipientDid)),
      assert(matchUuidv4(documentUuid));