ScheduleOptions.fromJson constructor

ScheduleOptions.fromJson(
  1. Map json_
)

Implementation

ScheduleOptions.fromJson(core.Map json_)
    : this(
        disableAutoScheduling: json_.containsKey('disableAutoScheduling')
            ? json_['disableAutoScheduling'] as core.bool
            : null,
        endTime: json_.containsKey('endTime')
            ? json_['endTime'] as core.String
            : null,
        startTime: json_.containsKey('startTime')
            ? json_['startTime'] as core.String
            : null,
      );