evictAllFromMap method

Future<String> evictAllFromMap(
  1. String sdkId,
  2. String mapName
)

Implementation

Future<String> evictAllFromMap(String sdkId, String mapName) async {
	final res = await _methodChannel.invokeMethod<String>(
		'SystemApi.evictAllFromMap',
		{
			"sdkId": sdkId,
			"mapName": jsonEncode(mapName),
		}
	);
	if (res == null) throw AssertionError("received null result from platform method evictAllFromMap");
	final parsedResJson = jsonDecode(res);
	return (parsedResJson as String);
}