processorTokenCreateRequestProcessorNullableListFromJson function
List<ProcessorTokenCreateRequestProcessor> ?
processorTokenCreateRequestProcessorNullableListFromJson(
- List? processorTokenCreateRequestProcessor, [
- List<
ProcessorTokenCreateRequestProcessor> ? defaultValue
Implementation
List<enums.ProcessorTokenCreateRequestProcessor>?
processorTokenCreateRequestProcessorNullableListFromJson(
List? processorTokenCreateRequestProcessor, [
List<enums.ProcessorTokenCreateRequestProcessor>? defaultValue,
]) {
if (processorTokenCreateRequestProcessor == null) {
return defaultValue;
}
return processorTokenCreateRequestProcessor
.map((e) => processorTokenCreateRequestProcessorFromJson(e.toString()))
.toList();
}