undeleteTimeTableById method
Implementation
Future<EncryptedTimeTable> undeleteTimeTableById(String sdkId, String id, String rev) async {
final res = await _methodChannel.invokeMethod<String>(
'TimeTableApi.encrypted.undeleteTimeTableById',
{
"sdkId": sdkId,
"id": jsonEncode(id),
"rev": jsonEncode(rev),
}
);
if (res == null) throw AssertionError("received null result from platform method undeleteTimeTableById");
final parsedResJson = jsonDecode(res);
return EncryptedTimeTable.fromJSON(parsedResJson);
}