12 lines
296 B
Dart
12 lines
296 B
Dart
import 'package:get_it/get_it.dart';
|
|
import 'user_model.dart';
|
|
import 'token_model.dart';
|
|
|
|
GetIt getIt = GetIt.instance;
|
|
|
|
void initGetIt() {
|
|
getIt.registerSingleton<UserAccount>(UserAccount());
|
|
getIt.registerSingleton<UserProfile>(UserProfile());
|
|
getIt.registerSingleton<Token>(Token());
|
|
}
|