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