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