tokenMarker function

Map<String, Object?> tokenMarker(
  1. String name
)

The wire's stand-in for an opaque token's value in an external node's arguments — {'token': 'ctaStyle'}. The object itself cannot travel and the editor never holds it; the guest, which compiled the declaration, resolves the name at build time (bindExternals).

Implementation

Map<String, Object?> tokenMarker(String name) => {'token': name};