Processor.fromJson constructor
Implementation
factory Processor.fromJson(Map<String, dynamic> json) {
return Processor(
type: (json['Type'] as String).toProcessorType(),
parameters: (json['Parameters'] as List?)
?.whereNotNull()
.map((e) => ProcessorParameter.fromJson(e as Map<String, dynamic>))
.toList(),
);
}