DateRange.fromJson constructor

DateRange.fromJson(
  1. Map json_
)

Implementation

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