runAction property

Future<void> Function({required String actionId, required String matchId}) runAction
final

KRunner has requested to run an action on a match.

matchId is the ID that was returned with a QueryMatch.

actionId (if present) is the SecondaryAction.id associated with a specific action (callback).

If the user selects the default action (by for example pressing enter) only the matchId will be passed and actionId will be null.

If any actions returned from retrieveActions

Implementation

final Future<void> Function({
  required String matchId,
  required String actionId,
}) runAction;