DatafeedFetchSchedule.fromJson constructor

DatafeedFetchSchedule.fromJson(
  1. Map json_
)

Implementation

DatafeedFetchSchedule.fromJson(core.Map json_)
    : this(
        dayOfMonth: json_.containsKey('dayOfMonth')
            ? json_['dayOfMonth'] as core.int
            : null,
        fetchUrl: json_.containsKey('fetchUrl')
            ? json_['fetchUrl'] as core.String
            : null,
        hour: json_.containsKey('hour') ? json_['hour'] as core.int : null,
        minuteOfHour: json_.containsKey('minuteOfHour')
            ? json_['minuteOfHour'] as core.int
            : null,
        password: json_.containsKey('password')
            ? json_['password'] as core.String
            : null,
        paused:
            json_.containsKey('paused') ? json_['paused'] as core.bool : null,
        timeZone: json_.containsKey('timeZone')
            ? json_['timeZone'] as core.String
            : null,
        username: json_.containsKey('username')
            ? json_['username'] as core.String
            : null,
        weekday: json_.containsKey('weekday')
            ? json_['weekday'] as core.String
            : null,
      );