processingColourReplaceMethodGetSetListFromJson function
List<ProcessingColourReplaceMethodGetSet>
processingColourReplaceMethodGetSetListFromJson(
- List? processingColourReplaceMethodGetSet, [
- List<
ProcessingColourReplaceMethodGetSet> ? defaultValue
Implementation
List<enums.ProcessingColourReplaceMethodGetSet>
processingColourReplaceMethodGetSetListFromJson(
List? processingColourReplaceMethodGetSet, [
List<enums.ProcessingColourReplaceMethodGetSet>? defaultValue,
]) {
if (processingColourReplaceMethodGetSet == null) {
return defaultValue ?? [];
}
return processingColourReplaceMethodGetSet
.map((e) => processingColourReplaceMethodGetSetFromJson(e.toString()))
.toList();
}