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"; }