purgeDocument method

Future<void> purgeDocument(
  1. String sdkId,
  2. Document document
)

Implementation

Future<void> purgeDocument(String sdkId, Document document) async {
	final res = await _methodChannel.invokeMethod<String>(
		'DocumentApi.purgeDocument',
		{
			"sdkId": sdkId,
			"document": jsonEncode(Document.encode(document)),
		}
	);
}