AXRelatedNode.fromJson constructor

AXRelatedNode.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory AXRelatedNode.fromJson(Map<String, dynamic> json) {
  return AXRelatedNode(
    backendDOMNodeId:
        dom.BackendNodeId.fromJson(json['backendDOMNodeId'] as int),
    idref: json.containsKey('idref') ? json['idref'] as String : null,
    text: json.containsKey('text') ? json['text'] as String : null,
  );
}