register method
Registers and redirects to the Routes.home page.
Implementation
Future<void> register() async {
try {
await _authService.register();
router.home();
} catch (e) {
MessagePopup.error(e);
rethrow;
}
}
Registers and redirects to the Routes.home page.
Future<void> register() async {
try {
await _authService.register();
router.home();
} catch (e) {
MessagePopup.error(e);
rethrow;
}
}