TikiSdkFlutter class Null safety

Constructors

TikiSdkFlutter(String origin)
Initializes the TIKI SDK for Flutter, defining a default origin.

Properties

hashCode int
The hash code for this object.
read-only, inherited
origin String
The default origin.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
tikiSdkDart TikiSdk
The base TIKI SDK for Dart
late, final

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? 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