fromCountdownView method

CountdownViewController fromCountdownView(
  1. CountdownView view
)

Implementation

CountdownViewController fromCountdownView(CountdownView view) {
  super.fromView(view);
  targetTime = view.target;
  decrementTime = view.decrement;
  periodicTime = view.periodic;
  initialStartMode = view.initialStartMode;
  _onComplete = view.onComplete;
  _onRemaining = view.onRemaining;
  return this;
}