fromValue static method
Parses the value of the enum
Implementation
static MPIconPlacement fromValue(String value) {
switch (value) {
case "CENTER":
return MPIconPlacement.center;
case "ABOVE":
return MPIconPlacement.above;
case "BELOW":
return MPIconPlacement.below;
case "LEFT":
return MPIconPlacement.left;
case "RIGHT":
return MPIconPlacement.right;
default:
throw ArgumentError(
"A MPIconPlacement scheme does not exist for the value $value");
}
}