resolve method

Logic resolve(
  1. Module module, {
  2. required Logic staticToLogic(
    1. T value
    ),
})

Resolves this value to Logic within module.

Runtime values become module inputs. Static values are converted by staticToLogic.

Implementation

Logic resolve(Module module,
        {required Logic Function(T value) staticToLogic}) =>
    getRuntimeInput(module) ?? staticToLogic(staticConfig);