toJson method
Serializes the object to its JSON representation.
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{}.also((json) {
json.putOpt("cssSelector", cssSelector);
json.putOpt("textNodeIndex", textNodeIndex);
json.putOpt("charOffset", charOffset);
});