MealRecordRepository class

Constructors

MealRecordRepository(MealRecordApi _client, ConvertToMealRecordModel _convertToMealRecordDto, RepositoryErrorHandler _repositoryErrorHandler, DioErrorHandler _dioErrorHandler, ConvertToUpsertMealRecordResponceModel _convertToUpsertMealRecordResponceModel)

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

deleteRecord(String mealRecordId) Future<void>
getRecord({required String mealRecordId}) Future<MealRecordModel>
getRecords({required DateTime from, required DateTime to}) Future<List<MealRecordModel>?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
upsertRecord({required DateTime dateTime, required MultipartFile image}) Future<UpsertMealRecordResponceModel>

Operators

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