transferTypeNullableListFromJson function
List<TransferType> ?
transferTypeNullableListFromJson(
- List? transferType, [
- List<
TransferType> ? defaultValue
Implementation
List<enums.TransferType>? transferTypeNullableListFromJson(
List? transferType, [
List<enums.TransferType>? defaultValue,
]) {
if (transferType == null) {
return defaultValue;
}
return transferType.map((e) => transferTypeFromJson(e.toString())).toList();
}