fromMap static method
Implementation
static Orientation fromMap(Map<String, Object> map) {
// return Orientation.values[int.parse(map['index'].toString())];
return toEnum<Orientation>(Orientation.values, 'orientation', map);
}
static Orientation fromMap(Map<String, Object> map) {
// return Orientation.values[int.parse(map['index'].toString())];
return toEnum<Orientation>(Orientation.values, 'orientation', map);
}