resolve method

dynamic resolve(
  1. String runtimeInputName
)

Returns the static value or a named runtime input for this selection.

Implementation

dynamic resolve(String runtimeInputName) => switch (value) {
      StaticOrRuntimeBoolMode.disabled => false,
      StaticOrRuntimeBoolMode.enabled => true,
      StaticOrRuntimeBoolMode.runtime => Logic(name: runtimeInputName),
    };