PropertyNode constructor

PropertyNode({
  1. String type = 'Property',
  2. Location? loc,
  3. List<Node>? children,
  4. int? index,
  5. ValueNode? key,
  6. Node? value,
})

Implementation

PropertyNode({
  String type = 'Property',
  Location? loc,
  List<Node>? children,
  this.index,
  this.key,
  this.value,
})  : children = children ?? <Node>[],
      super(type, loc);