undeleteTimeTable method

Future<TimeTable> undeleteTimeTable(
  1. String sdkId,
  2. TimeTable timeTable
)

Implementation

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