toJson method

Map toJson()

Implementation

Map toJson() => {
      'id': id,
      'classList': classList,
      'tag': tag,
      'node': _getNodeValue(node),
    };