toMap method
Implementation
Map<String, dynamic> toMap() => {
"weightsOfReportType": weightsOfReportType == null
? null
: List<dynamic>.from(weightsOfReportType!.map((x) => x)),
"weightsOfContagiousness": weightsOfContagiousness == null
? null
: List<dynamic>.from(weightsOfContagiousness!.map((x) => x)),
"thresholdOfAttenuationInDb": thresholdOfAttenuationInDb == null
? null
: List<dynamic>.from(thresholdOfAttenuationInDb!.map((x) => x)),
"weightsOfAttenuationBucket": weightsOfAttenuationBucket == null
? null
: List<dynamic>.from(weightsOfAttenuationBucket!.map((x) => x)),
"thresholdOfDaysSinceHit": thresholdOfDaysSinceHit,
"minWindowScore": minWindowScore,
};