Calc constructor

Calc(
  1. WidgetModel? parent, {
  2. String? id,
  3. String? operation,
  4. String? source,
  5. String? target,
  6. String? precision,
  7. String? group,
})

Implementation

Calc(WidgetModel? parent,
    {String? id,
    String? operation,
    this.source,
    this.target,
    this.precision,
    String? group})
    : super(parent, id) {
  this.operation = operation?.toLowerCase();
  groups = group?.split(",");
}