together_mobile/lib/utils/init_get_it.dart

10 lines
257 B
Dart

import 'package:get_it/get_it.dart';
import 'package:together_mobile/models/user_model.dart';
GetIt getIt = GetIt.instance;
void initGetIt() {
getIt.registerSingleton<UserAccount>(UserAccount());
getIt.registerSingleton<UserProfile>(UserProfile());
}