Task_TriggerSpec constructor

Task_TriggerSpec({
  1. bool? disabled,
  2. Task_TriggerSpec_Type? type,
  3. Timestamp? startTime,
  4. int? maxRetries,
  5. String? schedule,
})

Implementation

factory Task_TriggerSpec({
  $core.bool? disabled,
  Task_TriggerSpec_Type? type,
  $2.Timestamp? startTime,
  $core.int? maxRetries,
  $core.String? schedule,
}) {
  final $result = create();
  if (disabled != null) {
    $result.disabled = disabled;
  }
  if (type != null) {
    $result.type = type;
  }
  if (startTime != null) {
    $result.startTime = startTime;
  }
  if (maxRetries != null) {
    $result.maxRetries = maxRetries;
  }
  if (schedule != null) {
    $result.schedule = schedule;
  }
  return $result;
}