getDepotsWithUser abstract method

  1. @GET('/users/{id}/depots')
Future<List<Depot>> getDepotsWithUser(
  1. @Path('id') String userId
)

Implementation

@GET('/users/{id}/depots')
Future<List<Depot>> getDepotsWithUser(@Path('id') String userId);