DateRange.fromJson constructor

DateRange.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

factory DateRange.fromJson(Map<String, dynamic> json) => DateRange(
  startDate: json['start_date'],
  endDate: json['end_date'],
);