purgeTopic method

Future<void> purgeTopic(
  1. String sdkId,
  2. Topic topic
)

Implementation

Future<void> purgeTopic(String sdkId, Topic topic) async {
	final res = await _methodChannel.invokeMethod<String>(
		'TopicBasicApi.purgeTopic',
		{
			"sdkId": sdkId,
			"topic": jsonEncode(Topic.encode(topic)),
		}
	);
}