decode method
Implementation
@override
PgrServiceApplicationStatus decode(dynamic value) {
switch (value) {
case 'CREATED':
return PgrServiceApplicationStatus.created;
case 'PENDING_ASSIGNMENT':
return PgrServiceApplicationStatus.pendingAssignment;
case 'RESOLVED':
return PgrServiceApplicationStatus.resolved;
case 'REJECTED':
return PgrServiceApplicationStatus.rejected;
case 'CANCELLED':
return PgrServiceApplicationStatus.cancelled;
default:
throw MapperException.unknownEnumValue(value);
}
}