init method
Adds configuration for local notifications and initialize service.
Implementation
Future<void> init() async {
const initializationSettingsAndroid =
AndroidInitializationSettings('@mipmap/ic_launcher');
const initializationSettingsIOS = DarwinInitializationSettings(
requestAlertPermission: false,
requestBadgePermission: false,
requestSoundPermission: false,
);
const initializationSettings = InitializationSettings(
android: initializationSettingsAndroid,
iOS: initializationSettingsIOS,
);
await localNotif.initialize(initializationSettings);
tz.initializeTimeZones();
}