WeekDayOfMonth.fromJson constructor

WeekDayOfMonth.fromJson(
  1. Map json_
)

Implementation

WeekDayOfMonth.fromJson(core.Map json_)
    : this(
        dayOfWeek: json_.containsKey('dayOfWeek')
            ? json_['dayOfWeek'] as core.String
            : null,
        dayOffset: json_.containsKey('dayOffset')
            ? json_['dayOffset'] as core.int
            : null,
        weekOrdinal: json_.containsKey('weekOrdinal')
            ? json_['weekOrdinal'] as core.int
            : null,
      );