fromJSON static method
Implementation
static DatabaseSynchronizationTarget fromJSON(String data) {
switch (data) {
case "base":
return DatabaseSynchronizationTarget.base;
case "healthdata":
return DatabaseSynchronizationTarget.healthdata;
case "patient":
return DatabaseSynchronizationTarget.patient;
default:
throw ArgumentError('Invalid DatabaseSynchronizationTarget entry value $data');
}
}