setup method
Sets up the registry with access to a config
.
Implementation
@override
void setup(TConfig config) {
// Register default implementations here
injector
..registerSingleton<TConfig>(() => config)
..registerSingleton<http.Client>(() => http.Client())
..register<BaseAppApi>(withConfig((c) => BaseAppApi(
config: c,
httpClient: httpClient,
)));
}