updateDesignDoc method

Future<bool> updateDesignDoc(
  1. String sdkId,
  2. String entityName,
  3. bool? warmup
)

Implementation

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