PseudoElementAddedEvent.fromJson constructor

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

Implementation

factory PseudoElementAddedEvent.fromJson(Map<String, dynamic> json) {
  return PseudoElementAddedEvent(
    parentId: NodeId.fromJson(json['parentId'] as int),
    pseudoElement:
        Node.fromJson(json['pseudoElement'] as Map<String, dynamic>),
  );
}