createDelegationDeAnonymizationMetadata method

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

Implementation

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