getDepotsWithUser abstract method

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

Implementation

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