initializeLocalNotifications method

Future<bool> initializeLocalNotifications()

Implementation

Future<bool> initializeLocalNotifications() async {
  const initializationSettings = InitializationSettings(
      android: AndroidInitializationSettings('@mipmap/ic_notification'));
  return await flutterLocalNotificationsPlugin
          .initialize(initializationSettings) ??
      false;
}