assignOwnership method Null safety
- String source,
- TikiSdkDataTypeEnum type,
- List<
String> contains, - {String? origin}
Assign ownership to a given source
.
The type
identifies which TikiSdkDataTypeEnum the ownership refers to.
The list of items the data contains is described by contains
. Optionally,
a description about this ownership can be giben in about
and the origin
can be overridden for the specific ownership grant.
It returns a base64 url-safe representation of the OwnershipModel.transactionId.
Implementation
Future<String> assignOwnership(
String source, TikiSdkDataTypeEnum type, List<String> contains,
{String? origin}) async =>
await tikiSdkDart.assignOwnership(source, type, contains, origin: origin);