getDepotByRegionalArea method

Future<List<Depot>> getDepotByRegionalArea(
  1. int regionalAreaId
)

Get the depots by regional areas from the server

Implementation

Future<List<Depot>> getDepotByRegionalArea(int regionalAreaId) =>
    _apiClient.getDepotByRegionalArea(regionalAreaId).catchError((error) {
      _crashlytics?.recordError(error, StackTrace.current);
      throw error;
    });