DarwinNotificationAction.plain constructor

DarwinNotificationAction.plain(
  1. String identifier,
  2. String title,
  3. {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,
    );