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