transactionStreamStatusListFromJson function
List<TransactionStreamStatus>
transactionStreamStatusListFromJson(
- List? transactionStreamStatus, [
- List<
TransactionStreamStatus> ? defaultValue
Implementation
List<enums.TransactionStreamStatus> transactionStreamStatusListFromJson(
List? transactionStreamStatus, [
List<enums.TransactionStreamStatus>? defaultValue,
]) {
if (transactionStreamStatus == null) {
return defaultValue ?? [];
}
return transactionStreamStatus
.map((e) => transactionStreamStatusFromJson(e.toString()))
.toList();
}