decode method
Implementation
@override
DataOperation decode(dynamic value) {
switch (value) {
case 'create':
return DataOperation.create;
case 'search':
return DataOperation.search;
case 'update':
return DataOperation.update;
case 'delete':
return DataOperation.delete;
case 'singleCreate':
return DataOperation.singleCreate;
default:
throw MapperException.unknownEnumValue(value);
}
}