AppleNotification class
Apple specific properties of a RemoteNotification.
This will only be populated if the current device is Apple based (iOS/MacOS).
Constructors
-
AppleNotification({String? badge, AppleNotificationSound? sound, String? imageUrl, String? subtitle, List<
String> subtitleLocArgs = const <String>[], String? subtitleLocKey}) -
const
-
AppleNotification.fromMap(Map<
String, dynamic> map) -
Constructs an AppleNotification from a raw Map.
factory
Properties
- badge → String?
-
The value which sets the application badge.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- imageUrl → String?
-
The image URL for the notification.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sound → AppleNotificationSound?
-
Sound values for the incoming notification.
final
- subtitle → String?
-
Any subtile text on the notification.
final
-
subtitleLocArgs
→ List<
String> -
Any arguments that should be formatted into the resource specified by subtitleLocKey.
final
- subtitleLocKey → String?
-
The native localization key for the notification subtitle.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> - Returns the AppleNotification as a raw Map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited