processorTokenCreateRequestProcessorListToJson function
List<String>
processorTokenCreateRequestProcessorListToJson(
- List<
ProcessorTokenCreateRequestProcessor> ? processorTokenCreateRequestProcessor
Implementation
List<String> processorTokenCreateRequestProcessorListToJson(
List<enums.ProcessorTokenCreateRequestProcessor>?
processorTokenCreateRequestProcessor) {
if (processorTokenCreateRequestProcessor == null) {
return [];
}
return processorTokenCreateRequestProcessor
.map((e) => enums.$ProcessorTokenCreateRequestProcessorMap[e]!)
.toList();
}