getTimeTable method

Future<EncryptedTimeTable> getTimeTable(
  1. String sdkId,
  2. String entityId
)

Implementation

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