toJson method
Implementation
Map<String, dynamic> toJson() {
final dateRange = this.dateRange;
final end = this.end;
final start = this.start;
return {
if (dateRange != null) 'DateRange': dateRange,
if (end != null) 'End': end,
if (start != null) 'Start': start,
};
}