chapterWithContentResponseModelStateNullableListFromJson function
List<ChapterWithContentResponseModelState> ?
chapterWithContentResponseModelStateNullableListFromJson(
- List? chapterWithContentResponseModelState, [
- List<
ChapterWithContentResponseModelState> ? defaultValue
Implementation
List<enums.ChapterWithContentResponseModelState>?
chapterWithContentResponseModelStateNullableListFromJson(
List? chapterWithContentResponseModelState, [
List<enums.ChapterWithContentResponseModelState>? defaultValue,
]) {
if (chapterWithContentResponseModelState == null) {
return defaultValue;
}
return chapterWithContentResponseModelState
.map((e) => chapterWithContentResponseModelStateFromJson(e.toString()))
.toList();
}