TikiTrail class

The primary entrypoint for the library —use to create, get, and enforce records.

Properties

address → String
Returns the in-use wallet address.
no setter
hashCode → int
The hash code for this object.
no setterinherited
id → String
no setter
license License
Interact with LicenseRecords.
latefinal
payable Payable
Interact with PayableRecords.
latefinal
receipt Receipt
Interact with ReceiptRecords.
latefinal
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title Title
Interact with TitleRecords.
latefinal

Methods

guard(String ptr, List<LicenseUsecase> usecases, {String? origin, List<String>? destinations, dynamic onPass()?, dynamic onFail(String)?}) → bool
Guard against an invalid LicenseRecord for a List of usecases and destinations.
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

init(String publishingId, String origin, TikiIdp idp, Key key, CommonDatabase database, {int maxTransactions = 1, Duration blockInterval = const Duration(minutes: 1), String? customerAuth}) → Future<TikiTrail>
Returns a new initialized TikiTrail instance.
withId(String id, TikiIdp idp) → Future<Key>
Use before init to add a wallet address and keypair to the keyStorage for id.