IOSNotificationSettings.fromMap constructor

IOSNotificationSettings.fromMap(
  1. Map map
)

Implementation

factory IOSNotificationSettings.fromMap(Map<dynamic, dynamic> map) {
  return IOSNotificationSettings(
    authorizationStatus: map['authorizationStatus'],
    soundSetting: map['soundSetting'],
    badgeSetting: map['badgeSetting'],
    notificationCenterSetting: map['notificationCenterSetting'],
    lockScreenSetting: map['lockScreenSetting'],
    carPlaySetting: map['carPlaySetting'],
    alertStyle: map['alertStyle'],
    showPreviewsSetting: map['showPreviewsSetting'],
    criticalAlertSetting: map['criticalAlertSetting'],
    providesAppNotificationSettings: map['providesAppNotificationSettings'],
    scheduledDeliverySetting: map['scheduledDeliverySetting'],
    timeSensitiveSetting: map['timeSensitiveSetting'],
  );
}