AbsoluteDateRange.fromJson constructor

AbsoluteDateRange.fromJson(
  1. Map json_
)

Implementation

AbsoluteDateRange.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,
      );