toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'dateRange',
if (extra != null) '@extra': extra,
'start_date': start_date,
'end_date': end_date
};
}