toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final sourceAnalysis = this.sourceAnalysis;
  final sourceTemplate = this.sourceTemplate;
  return {
    if (sourceAnalysis != null) 'SourceAnalysis': sourceAnalysis,
    if (sourceTemplate != null) 'SourceTemplate': sourceTemplate,
  };
}