rAGIndexStatusListFromJson function
List<RAGIndexStatus>
rAGIndexStatusListFromJson(
- List? rAGIndexStatus, [
- List<
RAGIndexStatus> ? defaultValue
Implementation
List<enums.RAGIndexStatus> rAGIndexStatusListFromJson(
List? rAGIndexStatus, [
List<enums.RAGIndexStatus>? defaultValue,
]) {
if (rAGIndexStatus == null) {
return defaultValue ?? [];
}
return rAGIndexStatus
.map((e) => rAGIndexStatusFromJson(e.toString()))
.toList();
}