action property

String? get action

Returns the string ID of the notification button the user clicked. This value returns undefined if the user clicked the notification somewhere other than an action button, or the notification does not have a button.

Implementation

String? get action => _getProperty(_delegate, 'action');