ExerciseRepository class

運動データのリポジトリ

ローカルデータベースの運動データテーブルにアクセスする

Constructors

ExerciseRepository(LocalDatabaseHelper _localDatabaseHelper, RepositoryErrorHandler _repositoryErrorHandler)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getFromExerciseId({required int exerciseId}) Future<ExerciseModel>
運動Idに紐づく運動データを取得する
getListFromExerciseIntensity({required ExerciseIntensityModel exerciseIntensity}) Future<List<ExerciseModel>>
運動強度グループから運動データ一覧を取得する
insertAllAndReplace({required List<ExerciseModel> exerciseModels}) Future<void>
運動データ一覧を保存する
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