DarwinNotificationCategory class

Corresponds to the UNNotificationCategory type which is used to configure notification categories and accompanying options.

See the official docs at https://developer.apple.com/documentation/usernotifications/unnotificationcategory for more details.

Constructors

DarwinNotificationCategory(String identifier, {List<DarwinNotificationAction> actions = const <DarwinNotificationAction>[], Set<DarwinNotificationCategoryOption> options = const <DarwinNotificationCategoryOption>{}})
Constructs a instance of DarwinNotificationCategory.
const

Properties

actions List<DarwinNotificationAction>
The actions to display when a notification of this type is presented.
final
hashCode int
The hash code for this object.
no setterinherited
identifier String
The unique string assigned to the category.
final
options Set<DarwinNotificationCategoryOption>
Options for how to handle notifications of this type.
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