DateRange.fromJson constructor

DateRange.fromJson(
  1. Map json_
)

Implementation

DateRange.fromJson(core.Map json_)
  : this(
      endDate:
          json_.containsKey('endDate')
              ? Date.fromJson(
                json_['endDate'] as core.Map<core.String, core.dynamic>,
              )
              : null,
      startDate:
          json_.containsKey('startDate')
              ? Date.fromJson(
                json_['startDate'] as core.Map<core.String, core.dynamic>,
              )
              : null,
    );