createDelegationDeAnonymizationMetadata method

Future<void> createDelegationDeAnonymizationMetadata(
  1. String sdkId,
  2. Document entity,
  3. Set<String> delegates
)

Implementation

Future<void> createDelegationDeAnonymizationMetadata(String sdkId, Document entity, Set<String> delegates) async {
	final res = await _methodChannel.invokeMethod<String>(
		'DocumentApi.createDelegationDeAnonymizationMetadata',
		{
			"sdkId": sdkId,
			"entity": jsonEncode(Document.encode(entity)),
			"delegates": jsonEncode(delegates.map((x0) => x0).toList()),
		}
	);
}