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