CommercioDoc class

Contains all the data related to a document that is sent to the chain when a user wants to share a document with another user.

Annotations
  • @JsonSerializable(explicitToJson: true, includeIfNull: false)

Constructors

CommercioDoc({required String senderDid, required List<String> recipientDids, required String uuid, required CommercioDocMetadata metadata, String? contentUri, CommercioDocChecksum? checksum, CommercioDocEncryptionData? encryptionData, CommercioDoSign? doSign})
CommercioDoc.fromJson(Map<String, dynamic> json)
factory

Properties

checksum CommercioDocChecksum?
final
contentUri String?
final
doSign CommercioDoSign?
If doSign is specified then the field checksum must be also provided.
final
encryptionData CommercioDocEncryptionData?
final
hashCode int
The hash code for this object.
no setterinherited
metadata CommercioDocMetadata
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
recipientDids List<String>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
senderDid String
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
uuid String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited