transferRefundStatusListFromJson function
List<TransferRefundStatus>
transferRefundStatusListFromJson(
- List? transferRefundStatus, [
- List<
TransferRefundStatus> ? defaultValue
Implementation
List<enums.TransferRefundStatus> transferRefundStatusListFromJson(
List? transferRefundStatus, [
List<enums.TransferRefundStatus>? defaultValue,
]) {
if (transferRefundStatus == null) {
return defaultValue ?? [];
}
return transferRefundStatus
.map((e) => transferRefundStatusFromJson(e.toString()))
.toList();
}