injectRepositories function

void injectRepositories({
  1. required Http http,
})

Implementation

void injectRepositories({
  required Http http,
}) {
  final authService = AuthService(http);
  Repositories.auth.setArguments(
    (http: http, authService: authService),
  );
  Repositories.packages.setArguments(
    (http: http, authService: authService),
  );
}