IOSNotificationOptions class
Notification options for iOS platform.
Constructors
- IOSNotificationOptions({bool showNotification = true, bool playSound = false})
-
Constructs an instance of IOSNotificationOptions.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- playSound → bool
-
Whether to play sound when creating notifications.
The default is
false
.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showNotification → bool
-
Whether to show notifications.
The default is
true
.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Returns the data fields of IOSNotificationOptions in JSON format.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited