enrichTransactionDirectionNullableListFromJson function
List<EnrichTransactionDirection> ?
enrichTransactionDirectionNullableListFromJson(
- List? enrichTransactionDirection, [
- List<
EnrichTransactionDirection> ? defaultValue
Implementation
List<enums.EnrichTransactionDirection>?
enrichTransactionDirectionNullableListFromJson(
List? enrichTransactionDirection, [
List<enums.EnrichTransactionDirection>? defaultValue,
]) {
if (enrichTransactionDirection == null) {
return defaultValue;
}
return enrichTransactionDirection
.map((e) => enrichTransactionDirectionFromJson(e.toString()))
.toList();
}