Tag constructor

Tag({
  1. required String name,
  2. required int symbol,
  3. String? type,
  4. String? body,
  5. int? line,
})

Implementation

Tag({
  required String name,
  required int symbol,
  String? type,
  String? body,
  int? line,
}) {
  _name = name;
  _type = type;
  _body = body;
  _attributes = {};
  _childs = [];
  _line = line;
  _symbol = symbol;
}