mirror of
https://github.com/wger-project/flutter.git
synced 2026-02-19 07:50:52 +01:00
27 lines
558 B
Dart
27 lines
558 B
Dart
import 'package:flutter/foundation.dart';
|
|
import 'package:wger/models/exercises/exercise.dart';
|
|
|
|
class Setting {
|
|
final int id;
|
|
final Exercise exercise;
|
|
//final RepetitionUnit repetitionUnit;
|
|
final int reps;
|
|
final double weight;
|
|
//final WeightUnit weightUnit;
|
|
final String comment;
|
|
|
|
// Generated by Server
|
|
final String repsText;
|
|
|
|
Setting({
|
|
@required this.id,
|
|
this.exercise,
|
|
//this.repetitionUnit,
|
|
@required this.reps,
|
|
@required this.weight,
|
|
//this.weightUnit,
|
|
@required this.comment,
|
|
this.repsText,
|
|
});
|
|
}
|