getEntityTemplate method
Implementation
Future<EntityTemplate> getEntityTemplate(String sdkId, String documentTemplateId) async {
final res = await _methodChannel.invokeMethod<String>(
'EntityTemplateApi.getEntityTemplate',
{
"sdkId": sdkId,
"documentTemplateId": jsonEncode(documentTemplateId),
}
);
if (res == null) throw AssertionError("received null result from platform method getEntityTemplate");
final parsedResJson = jsonDecode(res);
return EntityTemplate.fromJSON(parsedResJson);
}