injectModule method
Future
injectModule(
)
override
Implementation
@override
Future injectModule() async {
instance.registerLazySingletonAsync<LoginRepository>(
() async => LoginRepositoryImpl(
await instance.getAsync(),
await instance.getAsync(),
),
);
instance.registerLazySingletonAsync<UserRepository>(
() async => UserRepositoryImpl(
await instance.getAsync(),
),
);
instance.registerLazySingletonAsync<GetLoggedUserToken>(
() async => GetLoggedUserTokenImpl(
await instance.getAsync(),
),
);
instance.registerLazySingletonAsync<GetLoggedUserId>(
() async => GetLoggedUserIdImpl(
await instance.getAsync(),
),
);
instance.registerLazySingletonAsync<DeleteUser>(
() async => DeleteUserImpl(
await instance.getAsync(),
await instance.getAsync(),
await instance.getAsync(),
),
);
instance.registerLazySingletonAsync<GetUser>(
() async => GetUserImpl(
await instance.getAsync(),
await instance.getAsync(),
await instance.getAsync(),
),
);
instance.registerLazySingletonAsync<MakeLogin>(
() async => MakeLoginImpl(
await instance.getAsync(),
await instance.getAsync(),
),
);
instance.registerLazySingletonAsync<MakeLogout>(
() async => MakeLogoutImpl(
await instance.getAsync(),
),
);
instance.registerLazySingletonAsync<RegisterUser>(
() async => RegisterUserImpl(
await instance.getAsync(),
await instance.getAsync(),
await instance.getAsync(),
),
);
instance.registerLazySingletonAsync<RememberPassword>(
() async => RememberPasswordImpl(
await instance.getAsync(),
await instance.getAsync(),
),
);
instance.registerLazySingletonAsync<SendSmsBeforeRegistration>(
() async => SendSmsBeforeRegistrationImpl(
await instance.getAsync(),
await instance.getAsync(),
),
);
instance.registerLazySingletonAsync<UpdateUser>(
() async => UpdateUserImpl(
await instance.getAsync(),
await instance.getAsync(),
await instance.getAsync(),
),
);
instance.registerLazySingletonAsync<GetUserNotifications>(
() async => GetUserNotificationsImpl(
await instance.getAsync(),
await instance.getAsync(),
),
);
instance.registerLazySingletonAsync<MarkAsReadNotification>(
() async => MarkAsReadNotificationImpl(
await instance.getAsync(),
await instance.getAsync(),
),
);
instance.registerLazySingletonAsync<UpdateNotificationToken>(
() async => UpdateNotificationTokenImpl(
await instance.getAsync(),
await instance.getAsync(),
await instance.getAsync(),
),
);
instance.registerLazySingletonAsync<UploadUserPhoto>(
() async => UploadUserPhotoImpl(
await instance.getAsync(),
await instance.getAsync(),
await instance.getAsync(),
),
);
}