cpd_2022_zi/lib/models/hiit_workout.dart

16 lines
467 B
Dart
Raw Normal View History

import 'package:smoke_cess_app/interface/db_record.dart';
class HIITWorkout implements DatabaseRecord {
final Duration _workoutDuration;
final String _commentBefore;
final String _commentAfter;
final DateTime _workoutDate;
HIITWorkout(this._workoutDuration, this._commentBefore, this._commentAfter,
this._workoutDate);
@override
String toCSV() =>
"${_workoutDate.toIso8601String()}, $_workoutDuration, $_commentBefore, $_commentAfter";
}