modifyCalendarItem method
Implementation
Future<EncryptedCalendarItem> modifyCalendarItem(String sdkId, EncryptedCalendarItem entity) async {
final res = await _methodChannel.invokeMethod<String>(
'CalendarItemApi.encrypted.modifyCalendarItem',
{
"sdkId": sdkId,
"entity": jsonEncode(EncryptedCalendarItem.encode(entity)),
}
);
if (res == null) throw AssertionError("received null result from platform method modifyCalendarItem");
final parsedResJson = jsonDecode(res);
return EncryptedCalendarItem.fromJSON(parsedResJson);
}