tapNotificationAction static method

Future<bool> tapNotificationAction(
  1. String uid,
  2. int actionId
)

tap the notification action use the index to locate the action

Implementation

static Future<bool> tapNotificationAction(String uid, int actionId) async {
  return await _bgMethodChannel
          .invokeMethod<bool>('service.tap_action', [uid, actionId]) ??
      false;
}