CountDownInstance constructor

CountDownInstance({
  1. required String id,
  2. required int maxSeconds,
  3. required CountDownFormat format,
  4. required void onUpdate(
    1. String timeStr
    ),
  5. void onComplete()?,
})

Implementation

CountDownInstance({
  required this.id,
  required this.maxSeconds,
  required this.format,
  required this.onUpdate,
  this.onComplete,
}) {
  _remainingSeconds = maxSeconds;
}