expand abstract method

FutureOr<DmxOutput> expand(
  1. DmxInvocation invocation
)

The generated members for one annotated declaration.

Returning a Future is what lets an expansion await a template render dartmacros.render; a macro that builds its Dart directly stays synchronous and pays nothing.

Implementation

FutureOr<DmxOutput> expand(DmxInvocation invocation);