process abstract method

ProcessedArg process(
  1. JsonWidgetRegistry registry,
  2. dynamic arg,
  3. Set<String>? listenVariables
)

Process passed arg into ProcessedArg. The registry is giving functions and variables information context for the processing.

Passed listenVariables is the information about variables that JsonWidgetData depends on. Passing that should be make the ArgProcessor to stop calculating these variable names. It is treated as a optimization.

ProcessedArg contains info about arg real value and variable names that it depends on.

Implementation

ProcessedArg process(
  JsonWidgetRegistry registry,
  dynamic arg,
  Set<String>? listenVariables,
);