Created first action and basic timer reducer
Signed-off-by: Andreas Fahrecker <AndreasFahrecker@gmail.com>
This commit is contained in:
9
lib/actions/timer_actions.dart
Normal file
9
lib/actions/timer_actions.dart
Normal file
@ -0,0 +1,9 @@
|
||||
import 'package:time_progress_calculator/models/timer.dart';
|
||||
|
||||
abstract class Action {}
|
||||
|
||||
class UpdateTimerAction extends Action {
|
||||
final Timer updatedTimer;
|
||||
|
||||
UpdateTimerAction(this.updatedTimer);
|
||||
}
|
Reference in New Issue
Block a user