RehabilitationRepository class
- Implemented types
Constructors
- RehabilitationRepository(RehabilitationApi _client, RepositoryErrorHandler _repositoryErrorHandler, DioErrorHandler _dioErrorHandler)
-
const
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
-
endRehabilitation(
{required String rehabilitationId, required String endReasonText}) → Future< void> -
リハビリを終了をサーバーに伝達する
override
-
getRehabilitationId(
) → Future< String> -
リハビリidを取得する。
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerHeartRateAndBloodPressure(
{required String rehabilitationId, required BloodPressureModel bloodPressure, required int heartRate, required MeasurementTimingModel measurementTiming}) → Future< void> -
心拍と血圧をサーバーに登録する。
override
-
registerSelfCheck(
List< SelfCheck> selfCheckList) → Future<void> -
セルフチェックを登録する。
override
-
registerSelfcheckAnswer(
{required String rehabilitationId, required int version, required FormType formType, required List< String> answers}) → Future<bool> -
問診の回答を登録する。
override
-
startRehabilitation(
) → Future< String> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited