RelativeDateRange.fromJson constructor

RelativeDateRange.fromJson(
  1. Map _json
)

Implementation

RelativeDateRange.fromJson(core.Map _json)
    : this(
        durationDays: _json.containsKey('durationDays')
            ? _json['durationDays'] as core.int
            : null,
        offsetDays: _json.containsKey('offsetDays')
            ? _json['offsetDays'] as core.int
            : null,
      );