RuleNode constructor

RuleNode({
  1. required String id,
  2. required String type,
  3. required Map<String, dynamic> data,
  4. bool root = false,
  5. double x = 0,
  6. double y = 0,
})

Implementation

RuleNode({
  required this.id,
  required this.type,
  required this.data,
  this.root = false,
  this.x = 0,
  this.y = 0,
});