NotificationsEnabledOptions class
Data class that represent current state of notification options.
Used for Darwin systems, like iOS and macOS.
Constructors
- NotificationsEnabledOptions({required bool isEnabled, required bool isSoundEnabled, required bool isAlertEnabled, required bool isBadgeEnabled, required bool isProvisionalEnabled, required bool isCriticalEnabled})
-
Constructs an instance of NotificationsEnabledOptions
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAlertEnabled → bool
-
Whenever alert notifications are enabled.
final
- isBadgeEnabled → bool
-
Whenever badge notifications are enabled.
final
- isCriticalEnabled → bool
-
Whenever critical notifications are enabled.
final
- isEnabled → bool
-
Whenever notifications are enabled.
final
- isProvisionalEnabled → bool
-
Whenever provisional notifications are enabled.
final
- isSoundEnabled → bool
-
Whenever sound notifications are enabled.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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