argument type 'Future Function(int, String, String, String)' can't be assigned to the parameter type 'void Function(int, String?, String?, String?)?
import ‘package:flutter/foundation.dart’; import ‘package:flutter_local_notifications/flutter_local_notifications.dart’; class NotificationManager { // ignore: prefer_typing_uninitialized_variables var flutterLocalNotificationsPlugin; NotificationManager() { flutterLocalNotificationsPlugin = FlutterLocalNotificationsPlugin(); initNotifications(); } getNotificationInstance() { return flutterLocalNotificationsPlugin; } void initNotifications() { // initialise the plugin. app_icon needs to be a added as a drawable resource to the Android head project const initializationSettingsAndroid = AndroidInitializationSettings(‘@mipmap/launcher_icon’); const initializationSettingsIOS = IOSInitializationSettings( I… Read More argument type 'Future Function(int, String, String, String)' can't be assigned to the parameter type 'void Function(int, String?, String?, String?)?