requestPermission method
requestPermission() for IOS developers only
Implementation
Future requestPermission() async {
return await localNotificationsPlugin
.resolvePlatformSpecificImplementation<
IOSFlutterLocalNotificationsPlugin>()
?.requestPermissions(
alert: true,
badge: true,
sound: true,
);
}