decode method
- dynamic value
override
Implementation
@override
FileType decode(dynamic value) {
switch (value) {
case 'pack':
return FileType.pack;
case 'game':
return FileType.game;
case 'template':
return FileType.template;
default:
throw MapperException.unknownEnumValue(value);
}
}