fromJson$Enum$DocumentReferenceModelEnum function

Enum$DocumentReferenceModelEnum fromJson$Enum$DocumentReferenceModelEnum(
  1. String value
)

Implementation

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