Returns a JSON-encodable representation of this DateRange object.
Map<String, dynamic> toJson() => { 'startDate': startDate.toIso8601String(), 'endDate': endDate.toIso8601String(), };