bankTransferStatusListFromJson function
List<BankTransferStatus>
bankTransferStatusListFromJson(
- List? bankTransferStatus, [
- List<
BankTransferStatus> ? defaultValue
Implementation
List<enums.BankTransferStatus> bankTransferStatusListFromJson(
List? bankTransferStatus, [
List<enums.BankTransferStatus>? defaultValue,
]) {
if (bankTransferStatus == null) {
return defaultValue ?? [];
}
return bankTransferStatus
.map((e) => bankTransferStatusFromJson(e.toString()))
.toList();
}