verbs property

  1. @override
List<AtomVerb> get verbs
override

Verbs exposed to JS. The bridge installs one JS function per verb on host.<key>. Empty list = no methods (the atom registers but JS calls always fail).

Implementation

@override
List<AtomVerb> get verbs => const [
      AtomVerb(
        'current',
        description: 'Returns id / name / version / shortId / directory '
            'of the bundle this tool is running inside.',
      ),
    ];