ExerciseModel class

ExerciseModel represents the details of an exercise

Annotations

Constructors

ExerciseModel({required String id, required String title, required String thumbnailURL, required String videoURL, required String maleVideoURL, required String maleThumbnailURL, int? workoutCountdown, int? workoutReps, int? averageReps, int? averageCountdown, required int restDuration, required String restSpeech, required String restSpeechText, double? averageCalories, required List<String> bodyParts, required String description, required String difficultyLevel, required String commonMistakes, required List<String> steps, required String tips, required String modelId, Map<String, dynamic>? rawJSON})
const
ExerciseModel.fromJson(Map<String, dynamic> json)
factory

Properties

averageCalories double?
final
averageCountdown int?
final
averageReps int?
final
bodyParts List<String>
final
commonMistakes String
final
description String
final
difficultyLevel String
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
maleThumbnailURL String
final
maleVideoURL String
final
modelId String
final
rawJSON Map<String, dynamic>?
final
restDuration int
final
restSpeech String
final
restSpeechText String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
steps List<String>
final
thumbnailURL String
final
tips String
final
title String
final
videoURL String
final
workoutCountdown int?
final
workoutReps int?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited