chapterWithContentResponseModelStateFromJson function
ChapterWithContentResponseModelState
chapterWithContentResponseModelStateFromJson(
- Object? chapterWithContentResponseModelState, [
- ChapterWithContentResponseModelState? defaultValue
Implementation
enums.ChapterWithContentResponseModelState
chapterWithContentResponseModelStateFromJson(
Object? chapterWithContentResponseModelState, [
enums.ChapterWithContentResponseModelState? defaultValue,
]) {
return enums.ChapterWithContentResponseModelState.values.firstWhereOrNull(
(e) => e.value == chapterWithContentResponseModelState) ??
defaultValue ??
enums.ChapterWithContentResponseModelState.swaggerGeneratedUnknown;
}