requestPermissions method

  1. @override
Future requestPermissions()
override

Implementation

@override
Future requestPermissions() async {
  await 200.ms.pause();

  final _settings = await _fb!.requestPermission(
    sound: true,
    badge: true,
    alert: true,
  );

  this._isRegistered = _settings.alert == AppleNotificationSetting.enabled;
}