encode method
Implementation
@override
dynamic encode(PgrServiceApplicationStatus self) {
switch (self) {
case PgrServiceApplicationStatus.created:
return 'CREATED';
case PgrServiceApplicationStatus.pendingAssignment:
return 'PENDING_ASSIGNMENT';
case PgrServiceApplicationStatus.resolved:
return 'RESOLVED';
case PgrServiceApplicationStatus.rejected:
return 'REJECTED';
case PgrServiceApplicationStatus.cancelled:
return 'CANCELLED';
}
}