IOSNotificationConfig class

Configuration options specific to iOS notifications.

This class encapsulates all iOS-specific notification settings, making it easier to configure and pass iOS notification options.

Constructors

IOSNotificationConfig({bool? presentList, bool? presentAlert, bool? presentBadge, bool? presentSound, bool? presentBanner, String? sound, int? badgeNumber, String? threadIdentifier, String? categoryIdentifier, InterruptionLevel? interruptionLevel})
Creates an IOSNotificationConfig with the specified options.
const

Properties

badgeNumber → int?
The badge number to display.
final
categoryIdentifier → String?
The category identifier for notification actions.
final
hashCode → int
The hash code for this object.
no setterinherited
interruptionLevel → InterruptionLevel?
The interruption level of the notification.
final
presentAlert → bool?
Whether to present an alert for the notification.
final
presentBadge → bool?
Whether to update the app badge.
final
presentBanner → bool?
Whether to present a banner.
final
presentList → bool?
Whether to present the notification in the notification list.
final
presentSound → bool?
Whether to play a sound.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sound → String?
The sound file name to play.
final
threadIdentifier → String?
The thread identifier for grouping notifications.
final

Methods

copyWith({bool? presentList, bool? presentAlert, bool? presentBadge, bool? presentSound, bool? presentBanner, String? sound, int? badgeNumber, String? threadIdentifier, String? categoryIdentifier, InterruptionLevel? interruptionLevel}) → IOSNotificationConfig
Creates a copy of this config with the specified fields replaced.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

defaults → IOSNotificationConfig
Returns the default iOS notification configuration.
no setter