isUsingCubits function

bool isUsingCubits(
  1. CNode node
)

Implementation

bool isUsingCubits(CNode node) {
  if (node.type == NType.condition) {
    return true;
  }
  final values = node.getAttributes.values;
  if (values.any((e) =>
      e is VariableTypeInput ||
      e is CombinatedTextTypeInput ||
      e is FCondition)) {
    return true;
  }
  return false;
}