ChildNodeRemovedEvent.fromJson constructor

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

Implementation

factory ChildNodeRemovedEvent.fromJson(Map<String, dynamic> json) {
  return ChildNodeRemovedEvent(
    parentNodeId: NodeId.fromJson(json['parentNodeId'] as int),
    nodeId: NodeId.fromJson(json['nodeId'] as int),
  );
}