requestPermission method
For more information, see the underlying Apple documentation.
Implementation
Future<bool> requestPermission({
bool badge = true,
bool sound = true,
bool alert = true,
bool carPlay = true,
bool criticalAlert = false,
bool provisional = false,
bool providesAppNotificationSettings = false,
bool announcement = true,
}) {
return _pushHostApi.requestPermission(
badge,
sound,
alert,
carPlay,
criticalAlert,
provisional,
providesAppNotificationSettings,
announcement,
);
}