CommercioDocHelper class
Allows to easily create a CommercioDoc and perform common related operations
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromWallet(
{required Wallet wallet, required List< String> recipients, required String id, required CommercioDocMetadata metadata, String? contentUri, CommercioDocChecksum? checksum, CommercioDoSign? doSign, Set<CommercioEncryptedData> ? encryptedData, Uint8List? aesKey, Client? client}) → Future<CommercioDoc> -
Creates a CommercioDoc from the given
wallet
,recipients
,id
,metadata
and optionallycontentUri
,checksum
,doSign
,encryptedData
,aesKey
.