toJson$Enum$DocumentReferenceModelEnum function

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

Implementation

String toJson$Enum$DocumentReferenceModelEnum(
    Enum$DocumentReferenceModelEnum e) {
  switch (e) {
    case Enum$DocumentReferenceModelEnum.WITH_PREFIX:
      return r'WITH_PREFIX';
    case Enum$DocumentReferenceModelEnum.WITH_PREFIX_AND_DATE:
      return r'WITH_PREFIX_AND_DATE';
    case Enum$DocumentReferenceModelEnum.WITH_DATE:
      return r'WITH_DATE';
    case Enum$DocumentReferenceModelEnum.WITH_DATE_WITHOUT_HYPHEN:
      return r'WITH_DATE_WITHOUT_HYPHEN';
    case Enum$DocumentReferenceModelEnum.WITHOUT_PREFIX:
      return r'WITHOUT_PREFIX';
    case Enum$DocumentReferenceModelEnum.$unknown:
      return r'$unknown';
  }
}