action property

String? get action

The verb and its target as one label — tap "Pay" — or null where nothing acted. What an unnamed step is labelled with, in place of its index.

Implementation

String? get action {
  var did = [?verb, ?target].join(' ');
  return did.isEmpty ? null : did;
}