IosNotificationsConfig class
Constructors
- IosNotificationsConfig.new({NullableStringGetter? soundGetter, NullableStringGetter? subtitleGetter, NullableStringGetter? imageUrlGetter, NullableIntGetter? badgeNumberGetter, NullableStringGetter? categoryIdentifierGetter, NullableStringGetter? threadIdentifierGetter, IosInterruptionLevelGetter? interruptionLevelGetter, BoolGetter? presentSoundGetter, BoolGetter? presentAlertGetter, BoolGetter? presentBadgeGetter, BoolGetter? presentBannerGetter, BoolGetter? presentListGetter, BoolGetter? hideThumbnailGetter, IosNotificationAttachmentClippingRectGetter? thumbnailClippingRectGetter})
Properties
- badgeNumberGetter ↔ NullableIntGetter
-
Specify the number to display as the app icon's badge when the
notification arrives.
getter/setter pair
- categoryIdentifierGetter ↔ NullableStringGetter
-
The identifier of the app-defined category object.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hideThumbnailGetter ↔ BoolGetter
-
Should the attachment be considered for the notification thumbnail?
getter/setter pair
- imageUrlGetter ↔ NullableStringGetter
-
Specifies the url of the image to display in the notification.
getter/setter pair
- interruptionLevelGetter ↔ IosInterruptionLevelGetter
-
The interruption level that indicates the priority and
delivery timing of a notification.
getter/setter pair
- presentAlertGetter ↔ BoolGetter
-
Display an alert when the notification is triggered while app is
in the foreground.
getter/setter pair
- presentBadgeGetter ↔ BoolGetter
-
Apply the badge value when the notification is triggered while app is in
the foreground.
getter/setter pair
- presentBannerGetter ↔ BoolGetter
-
Configures the default setting on if the notification should be
presented as a banner when a notification is triggered while app is in
the foreground.
getter/setter pair
- presentListGetter ↔ BoolGetter
-
Configures the default setting on if the notification should be
in the notification centre when notification is triggered while app is in
the foreground.
getter/setter pair
- presentSoundGetter ↔ BoolGetter
-
Play a sound when the notification is triggered while app is in
the foreground.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- soundGetter ↔ NullableStringGetter
-
Specifies the name of the file to play for the notification.
getter/setter pair
- subtitleGetter ↔ NullableStringGetter
-
Specifies the secondary description.
getter/setter pair
- threadIdentifierGetter ↔ NullableStringGetter
-
Specifies the thread identifier that can be used to group
notifications together.
getter/setter pair
- thumbnailClippingRectGetter ↔ IosNotificationAttachmentClippingRectGetter?
-
The clipping rectangle for the thumbnail image.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toSpecifics(
RemoteMessage message, {List< DarwinNotificationAttachment> ? attachments}) → DarwinNotificationDetails -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- defaultBadgeNumber ↔ int?
-
Specify the number to display as the app icon's badge when the
notification arrives.
getter/setter pair
- defaultCategoryIdentifier ↔ String?
-
The identifier of the app-defined category object.
getter/setter pair
- defaultHideThumbnail ↔ bool
-
Should the attachment be considered for the notification thumbnail?
getter/setter pair
- defaultImageUrl ↔ String?
-
Specifies the url of the image to display in the notification.
getter/setter pair
- defaultInterruptionLevel ↔ InterruptionLevel?
-
The interruption level that indicates the priority and
delivery timing of a notification.
getter/setter pair
- defaultPresentAlert ↔ bool
-
Display an alert when the notification is triggered while app is
in the foreground.
getter/setter pair
- defaultPresentBadge ↔ bool
-
Apply the badge value when the notification is triggered while app is in
the foreground.
getter/setter pair
- defaultPresentBanner ↔ bool
-
Configures the default setting on if the notification should be
presented as a banner when a notification is triggered while app is in
the foreground.
getter/setter pair
- defaultPresentList ↔ bool
-
Configures the default setting on if the notification should be
in the notification centre when notification is triggered while app is in
the foreground.
getter/setter pair
- defaultPresentSound ↔ bool
-
Play a sound when the notification is triggered while app is in
the foreground.
getter/setter pair
- defaultSound ↔ String?
-
Specifies the name of the file to play for the notification.
getter/setter pair
- defaultSubtitle ↔ String?
-
Specifies the secondary description.
getter/setter pair
- defaultThreadIdentifier ↔ String?
-
Specifies the thread identifier that can be used to group
notifications together.
getter/setter pair
- defaultThumbnailClippingRectGetter ↔ DarwinNotificationAttachmentThumbnailClippingRect?
-
The clipping rectangle for the thumbnail image.
getter/setter pair
- requestAlertPermission ↔ bool
-
Request permission to display an alert.
getter/setter pair
- requestBadgePermission ↔ bool
-
Request permission to badge app icon.
getter/setter pair
- requestCriticalPermission ↔ bool
-
Request permission to show critical notifications.
getter/setter pair
- requestProvisionalPermission ↔ bool
-
Request permission to send provisional notification for iOS 12+
getter/setter pair
- requestSoundPermission ↔ bool
-
Request permission to play a sound.
getter/setter pair