CountDownInstance constructor
CountDownInstance({
- required String id,
- required int maxSeconds,
- required CountDownFormat format,
- required void onUpdate(
- String timeStr
- void onComplete()?,
Implementation
CountDownInstance({
required this.id,
required this.maxSeconds,
required this.format,
required this.onUpdate,
this.onComplete,
}) {
_remainingSeconds = maxSeconds;
}