toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final enabled = this.enabled;
  final processors = this.processors;
  return {
    if (enabled != null) 'Enabled': enabled,
    if (processors != null) 'Processors': processors,
  };
}