getDepotsWithUser method

Future<List<Depot>> getDepotsWithUser(
  1. String userId
)

Get all the list of Depot from the User.

Implementation

Future<List<Depot>> getDepotsWithUser(String userId) =>
    _apiClient.getDepotsWithUser(userId).catchError((error) {
      _crashlytics?.recordError(error, StackTrace.current);
      throw error;
    });