ProcessingConfiguration.fromJson constructor

ProcessingConfiguration.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ProcessingConfiguration.fromJson(Map<String, dynamic> json) {
  return ProcessingConfiguration(
    enabled: json['Enabled'] as bool?,
    processors: (json['Processors'] as List?)
        ?.whereNotNull()
        .map((e) => Processor.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}