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'],
    showPreviewSetting: map['showPreviewSetting'],
    criticalAlertSetting: map['criticalAlertSetting'],
    providesAppNotificationSettings: map['providesAppNotificationSettings'],
  );
}