toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final sourceDataFunction = this.sourceDataFunction;
  final sourceDataCopy = this.sourceDataCopy;
  final sourceDataMap = this.sourceDataMap;
  final sourceDataTrimTitle = this.sourceDataTrimTitle;
  return {
    'SourceDataFunction': sourceDataFunction.toValue(),
    if (sourceDataCopy != null) 'SourceDataCopy': sourceDataCopy,
    if (sourceDataMap != null) 'SourceDataMap': sourceDataMap,
    if (sourceDataTrimTitle != null)
      'SourceDataTrimTitle': sourceDataTrimTitle,
  };
}