getLocalNotificationsSettings method

Future<NotificationSettings> getLocalNotificationsSettings()

Implementation

Future<NotificationSettings> getLocalNotificationsSettings() async {
  print('🎈 getLocalNotificationsSettings');

  if (Platform.isAndroid) {
    throw PlatformException(code: 'android-not-supported');
  }

  final result = await _channel.invokeMethod('getLocalNotificationsSettings');
  return NotificationSettings.createFromMap(result);
}