fromJSON static method
Implementation
static Laterality fromJSON(String data) {
switch (data) {
case "left":
return Laterality.left;
case "right":
return Laterality.right;
default:
throw ArgumentError('Invalid Laterality entry value $data');
}
}