NeedsRestartResponse constructor

NeedsRestartResponse({
  1. String? id,
  2. bool? mustRestart,
  3. Duration? restartCheckInterval,
})

Implementation

factory NeedsRestartResponse({
  $core.String? id,
  $core.bool? mustRestart,
  $42.Duration? restartCheckInterval,
}) {
  final $result = create();
  if (id != null) {
    $result.id = id;
  }
  if (mustRestart != null) {
    $result.mustRestart = mustRestart;
  }
  if (restartCheckInterval != null) {
    $result.restartCheckInterval = restartCheckInterval;
  }
  return $result;
}