toJson$Enum$ChallengeStatusEnum function
Implementation
String toJson$Enum$ChallengeStatusEnum(Enum$ChallengeStatusEnum e) {
switch (e) {
case Enum$ChallengeStatusEnum.DRAFT:
return r'DRAFT';
case Enum$ChallengeStatusEnum.ONGOING:
return r'ONGOING';
case Enum$ChallengeStatusEnum.FINISHED:
return r'FINISHED';
case Enum$ChallengeStatusEnum.$unknown:
return r'$unknown';
}
}