init static method
Implementation
static Future<void> init() async {
await _rewriteMain();
_removeTestFolder();
// criar BaseHive
await DataCreate.createBaseHive();
// criar View Login
await ViewCreate.createView(featureName: 'login', content: loginView);
LogService.success('View login created successfully! 🎉');
// criar Feature Home
await Feature.create(featureName: 'home');
//criar View ForgotPassword
await ViewCreate.createView(
featureName: 'forgot_password',
content: forgotPasswordView,
);
LogService.success('View forgot_password created successfully! 🎉');
//criar ChangePassword
await ViewCreate.createView(
featureName: 'change_password',
content: changePasswordView,
);
LogService.success('View change_password created successfully! 🎉');
//criar View Notification
await ViewCreate.createView(
featureName: 'notification',
content: notificationView,
);
LogService.success('View notification created successfully! 🎉');
// criar Rotas
await RoutesCreate.init();
// // configurar android
await AndroidCreate.init();
}