UNNotificationAction class Null safety

https://developer.apple.com/documentation/usernotifications/UNNotificationAction

Constructors

UNNotificationAction({required String identifier, required String title, required List<UNNotificationActionOptions> options})

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
identifier String
final
options List<UNNotificationActionOptions>
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
title String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() → dynamic
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Methods

getIdentifier(Map<String, dynamic> payload) String?
Returns action identifier associated with this push. May be null, UNNotificationAction.defaultIdentifier, or value declared in setNotificationCategories

Constants

defaultIdentifier → const String
'com.apple.UNNotificationDefaultActionIdentifier'