Condition.data constructor

Condition.data(
  1. Data cond
)

Implementation

Condition.data(Data cond) {
  if (cond.subcommand != 'get') {
    throw ('Please insert a Data.get Widget in Condition.data!');
  }
  _setCond(cond);
}