signalDecisionOutcomeListFromJson function
List<SignalDecisionOutcome>
signalDecisionOutcomeListFromJson(
- List? signalDecisionOutcome, [
- List<
SignalDecisionOutcome> ? defaultValue
Implementation
List<enums.SignalDecisionOutcome> signalDecisionOutcomeListFromJson(
List? signalDecisionOutcome, [
List<enums.SignalDecisionOutcome>? defaultValue,
]) {
if (signalDecisionOutcome == null) {
return defaultValue ?? [];
}
return signalDecisionOutcome
.map((e) => signalDecisionOutcomeFromJson(e.toString()))
.toList();
}