DayOfWeekList.fromJson constructor

DayOfWeekList.fromJson(
  1. Map json_
)

Implementation

DayOfWeekList.fromJson(core.Map json_)
    : this(
        daysOfWeek: json_.containsKey('daysOfWeek')
            ? (json_['daysOfWeek'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );