TikiSdk class Null safety

The TIKI SDK that enables the creation of Ownership and Consent NFTs for data.

Use TikiSdkBuilder to build an instance of this.

Constructors

TikiSdk(OwnershipService ownershipService, ConsentService consentService, NodeService nodeService)

Properties

address → String
The blockchain address that is in use by this TikiSdk.
read-only
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

applyConsent(String source, TikiSdkDestination destination, Function request, {void onBlocked(String)?, String? origin}) → Future<void>
Apply consent for a given source and destination.
assignOwnership(String source, TikiSdkDataTypeEnum type, List<String> contains, {String? about, String? origin}) → Future<String>
Assign ownership to a given source.
getConsent(String source, {String? origin}) ConsentModel?
Gets latest consent given for a source and origin.
modifyConsent(String ownershipId, TikiSdkDestination destination, {String? about, String? reward, DateTime? expiry}) → Future<ConsentModel>
Modify consent for an ownership identified by ownershipId.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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