getMealRepo method

ApiMealRepo getMealRepo()

Provides an instance of ApiMealRepo for meal-related API operations.

This method returns a repository that contains meal-specific API functions, such as fetching, adding, or updating meal data.

Returns an instance of ApiMealRepo.

Implementation

ApiMealRepo getMealRepo() {
  return ApiMealRepo(this);
}