HolidayCutoff.fromJson constructor

HolidayCutoff.fromJson(
  1. Map json_
)

Implementation

HolidayCutoff.fromJson(core.Map json_)
    : this(
        deadlineDate: json_.containsKey('deadlineDate')
            ? json_['deadlineDate'] as core.String
            : null,
        deadlineHour: json_.containsKey('deadlineHour')
            ? json_['deadlineHour'] as core.int
            : null,
        deadlineTimezone: json_.containsKey('deadlineTimezone')
            ? json_['deadlineTimezone'] as core.String
            : null,
        holidayId: json_.containsKey('holidayId')
            ? json_['holidayId'] as core.String
            : null,
        visibleFromDate: json_.containsKey('visibleFromDate')
            ? json_['visibleFromDate'] as core.String
            : null,
      );