updateDesignDoc method
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);
}