vars property

Map<String, String>? vars
final

Custom variables to use in templates.

These override the vars from build.yaml configuration. Common variables:

  • wrapper: The function that wraps API calls (e.g., 'SimpleNetworkHandler.safeCall')
  • refresh: The function to call for refresh signals (e.g., 'RefreshBus.instance.refresh')

Implementation

final Map<String, String>? vars;