encode static method
Implementation
static Map<String, dynamic> encode(TimeTable value) {
switch (value) {
case EncryptedTimeTable entity:
Map<String, dynamic> entityJson = EncryptedTimeTable.encode(entity);
entityJson["kotlinType"] = "com.icure.cardinal.sdk.model.EncryptedTimeTable";
return entityJson;
case DecryptedTimeTable entity:
Map<String, dynamic> entityJson = DecryptedTimeTable.encode(entity);
entityJson["kotlinType"] = "com.icure.cardinal.sdk.model.DecryptedTimeTable";
return entityJson;
}
}