initialize static method
Implementation
static Future<void> initialize({
required GlobalKey<NavigatorState> navigatorKey,
bool isShowLogInNotification = false,
String? androidNotificationIcon,
}) async {
await _resolveLogDirectory(create: true);
AppRunTime.isShowLogInNotification = isShowLogInNotification;
if (isShowLogInNotification) {
await NotificationService.initialize(
navigatorKey: navigatorKey,
androidNotificationIcon: androidNotificationIcon,
);
}
}