fromJson static method
Implementation
static DateRange? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return DateRange(
startDate: (json['start_date'] as int?) ?? 0,
endDate: (json['end_date'] as int?) ?? 0,
);
}