DarwinNotificationAction.plain constructor
DarwinNotificationAction.plain(
- String identifier,
- String title, {
- Set<
DarwinNotificationActionOption> options = const <DarwinNotificationActionOption>{},
Creates a UNNotificationAction
for simple actions
Implementation
factory DarwinNotificationAction.plain(
String identifier,
String title, {
Set<DarwinNotificationActionOption> options = const <DarwinNotificationActionOption>{},
}) =>
DarwinNotificationAction._(
DarwinNotificationActionType.plain,
identifier,
title,
options: options,
);