toJson$Enum$ChallengeStatusEnum function

String toJson$Enum$ChallengeStatusEnum(
  1. Enum$ChallengeStatusEnum e
)

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';
  }
}