fromJson$Enum$RentalStatusEnum function
Implementation
Enum$RentalStatusEnum fromJson$Enum$RentalStatusEnum(String value) {
switch (value) {
case r'RETURNED':
return Enum$RentalStatusEnum.RETURNED;
case r'DELIVERED':
return Enum$RentalStatusEnum.DELIVERED;
case r'RETURNING':
return Enum$RentalStatusEnum.RETURNING;
case r'DELIVERING':
return Enum$RentalStatusEnum.DELIVERING;
case r'READY_FOR_PICKUP':
return Enum$RentalStatusEnum.READY_FOR_PICKUP;
default:
return Enum$RentalStatusEnum.$unknown;
}
}