CuepointSchedule.fromJson constructor

CuepointSchedule.fromJson(
  1. Map json_
)

Implementation

CuepointSchedule.fromJson(core.Map json_)
    : this(
        enabled: json_.containsKey('enabled')
            ? json_['enabled'] as core.bool
            : null,
        pauseAdsUntil: json_.containsKey('pauseAdsUntil')
            ? json_['pauseAdsUntil'] as core.String
            : null,
        repeatIntervalSecs: json_.containsKey('repeatIntervalSecs')
            ? json_['repeatIntervalSecs'] as core.int
            : null,
        scheduleStrategy: json_.containsKey('scheduleStrategy')
            ? json_['scheduleStrategy'] as core.String
            : null,
      );